Change imports
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
// runs the game at a fixed rate. a slow tick makes the next ones run back to back until the game catches up,
|
||||
// so game time keeps up with real time. if it falls too far behind, it skips ahead instead and says so
|
||||
import { TICKS_PER_SECOND } from "$/common/constants.ts";
|
||||
import { TICKS_PER_SECOND } from "@/common/constants.ts";
|
||||
|
||||
// at most this many ticks in a row to catch up, then skip the rest
|
||||
const MAX_CATCH_UP_TICKS = 10;
|
||||
|
||||
Reference in New Issue
Block a user