Files
blitzkit/packages/website-ue/src/game/game.ts
T

11 lines
317 B
TypeScript
Raw Normal View History

2026-05-05 17:43:12 -05:00
import { assertSecret } from "@blitzkit/core";
2026-02-02 22:00:46 -06:00
import { GameInterface } from "@blitzkit/game";
2026-05-05 17:43:12 -05:00
import { clientUnmounted } from "./unmounted";
let _game: GameInterface | null = null;
if (!clientUnmounted) {
2026-05-05 17:43:12 -05:00
_game = new GameInterface(assertSecret(import.meta.env.PUBLIC_WOTB_CLIENT));
}
export const game = _game;