This commit is contained in:
Schluffe
2026-06-28 16:23:38 +02:00
parent f8efda0ada
commit 135b7c3042
4 changed files with 43 additions and 41 deletions
+2
View File
@@ -187,5 +187,7 @@ const DevTools: Component<{ gameContainer: HTMLElement }> = ({
};
export function use(container: HTMLElement): void {
// @ts-ignore - just for console access
window.$ = (name: string) => currentScene.components.get(name);
render(() => <DevTools gameContainer={container} />, document.body);
}