1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-09 16:21:51 +00:00

Remove leftover callback check

Was removed completely along with the preloader script.
This commit is contained in:
Даниїл Григор'єв 2025-04-08 02:22:49 +03:00
parent f7d2ccccff
commit 412221c4b8
No known key found for this signature in database
GPG Key ID: B890DF16341D8C1D
2 changed files with 5 additions and 12 deletions

2
src/js/globals.d.ts vendored
View File

@ -71,8 +71,6 @@ declare interface Window {
webkitRequestAnimationFrame();
assert(condition: boolean, failureMessage: string);
coreThreadLoadedCb();
}
declare interface Navigator {

View File

@ -1,25 +1,20 @@
import "./core/polyfills";
import "./core/assert";
import "./core/polyfills";
import "./mods/modloader";
import { createLogger, logSection } from "./core/logging";
import { Application } from "./application";
import { IS_DEBUG } from "./core/config";
import { initComponentRegistry } from "./game/component_registry";
import { initDrawUtils } from "./core/draw_utils";
import { initItemRegistry } from "./game/item_registry";
import { initMetaBuildingRegistry } from "./game/meta_building_registry";
import { createLogger, logSection } from "./core/logging";
import { initComponentRegistry } from "./game/component_registry";
import { initGameModeRegistry } from "./game/game_mode_registry";
import { initGameSpeedRegistry } from "./game/game_speed_registry";
import { initItemRegistry } from "./game/item_registry";
import { initMetaBuildingRegistry } from "./game/meta_building_registry";
const logger = createLogger("main");
if (window.coreThreadLoadedCb) {
logger.log("Javascript parsed, calling html thread");
window.coreThreadLoadedCb();
}
console.log(
`%cshapez.io %c\n© 2022 tobspr Games\nCommit %c${G_BUILD_COMMIT_HASH}%c on %c${new Date(
G_BUILD_TIME