fix: support mixed wall and game clock servers

This commit is contained in:
2026-08-04 01:09:18 +00:00
parent 41ec80c96b
commit 68a82c066b
8 changed files with 153 additions and 25 deletions
@@ -0,0 +1,7 @@
export function resolveGatewayOpenState(
serverDecision: boolean | undefined,
openTime: string,
wallNow: string,
): boolean {
return serverDecision ?? openTime <= wallNow;
}