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:
parent
f7d2ccccff
commit
412221c4b8
2
src/js/globals.d.ts
vendored
2
src/js/globals.d.ts
vendored
@ -71,8 +71,6 @@ declare interface Window {
|
||||
webkitRequestAnimationFrame();
|
||||
|
||||
assert(condition: boolean, failureMessage: string);
|
||||
|
||||
coreThreadLoadedCb();
|
||||
}
|
||||
|
||||
declare interface Navigator {
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user