fix: 빙의 전용 화면과 가오픈 갱신을 보정한다

This commit is contained in:
2026-09-01 02:38:02 +00:00
parent dd84e6d6b3
commit 9c82eb0cf5
16 changed files with 243 additions and 73 deletions
+4 -2
View File
@@ -79,9 +79,11 @@ export class GameClock {
if (this.mode === 'manual') {
return this.tick;
}
// A wall-clock correction must never rewind already-observed gameplay.
const elapsedTicks = this.ticksBetween(this.wallAnchor, wallNow);
return elapsedTicks <= 0 ? this.tick : this.addTicks(this.tick, elapsedTicks);
// A future realtime anchor represents the formal opening at anchor tick.
// Before that instant Ref exposes the elapsed offset as a negative tick,
// which lets PREOPEN-only actions keep their logical cooldowns moving.
return this.addTicks(this.tick, elapsedTicks);
}
now(wallNow: Date): Date {