feat: expose store as window.__store for debugging
This commit is contained in:
@@ -11,6 +11,7 @@ export function useGameEngine(videoEls: () => [HTMLVideoElement | null, HTMLVide
|
|||||||
|
|
||||||
if (import.meta.env.DEV) {
|
if (import.meta.env.DEV) {
|
||||||
;(window as any).__sm = engine.stateManager
|
;(window as any).__sm = engine.stateManager
|
||||||
|
;(window as any).__store = store
|
||||||
}
|
}
|
||||||
|
|
||||||
async function loadGame(dataUrl: string) {
|
async function loadGame(dataUrl: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user