1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-11 09:11:50 +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(); webkitRequestAnimationFrame();
assert(condition: boolean, failureMessage: string); assert(condition: boolean, failureMessage: string);
coreThreadLoadedCb();
} }
declare interface Navigator { declare interface Navigator {

View File

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