fix: onload not clearTimeout.

This commit is contained in:
Rintim 2023-12-31 22:01:26 +08:00
parent c666825da2
commit a93ca5e6a7
No known key found for this signature in database
GPG Key ID: BE9E1EA615BACFCF
1 changed files with 1 additions and 0 deletions

View File

@ -792,6 +792,7 @@ export async function onload(resetGameTimeout) {
} }
} }
else { else {
Reflect.set(window, 'resetGameTimeout', resetGameTimeout);
await proceed(); await proceed();
} }
localStorage.removeItem(lib.configprefix + 'directstart'); localStorage.removeItem(lib.configprefix + 'directstart');