feat: expose store as window.__store for debugging

This commit is contained in:
2026-06-07 20:29:14 +08:00
parent 12d30cc128
commit 64a474a741

View File

@@ -11,6 +11,7 @@ export function useGameEngine(videoEls: () => [HTMLVideoElement | null, HTMLVide
if (import.meta.env.DEV) {
;(window as any).__sm = engine.stateManager
;(window as any).__store = store
}
async function loadGame(dataUrl: string) {