diff --git a/packages/website-ue/src/game/game.ts b/packages/website-ue/src/game/game.ts index 5294b4b4a..23206d27a 100644 --- a/packages/website-ue/src/game/game.ts +++ b/packages/website-ue/src/game/game.ts @@ -1,10 +1,11 @@ import { assertSecret } from "@blitzkit/core"; -import { GameInterface } from "@blitzkit/game"; +import type { GameInterface } from "@blitzkit/game"; import { clientUnmounted } from "./unmounted"; let _game: GameInterface | null = null; if (!clientUnmounted) { + const { GameInterface } = await import("@blitzkit/game"); _game = new GameInterface(assertSecret(import.meta.env.PUBLIC_WOTB_CLIENT)); }