fix: support mixed wall and game clock servers

This commit is contained in:
Hide_D authored and Hide_D committed 2026-08-04 20:37:56 +09:00
1 parent fc6f84ce23
commit 9da44d0001
8 files changed
+153 -25

No files matched your search

@@ -0,0 +1,7 @@
export function resolveGatewayOpenState(
serverDecision: boolean | undefined,
openTime: string,
wallNow: string,
): boolean {
return serverDecision ?? openTime <= wallNow;
}