From fd39b6c3af538603c46d886efc1fe369845991b7 Mon Sep 17 00:00:00 2001 From: k00lagin Date: Thu, 9 May 2024 12:44:27 +0500 Subject: [PATCH] Make raylibJs global when DEBUG flag is present --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 960a2cd..337dc0d 100644 --- a/index.html +++ b/index.html @@ -100,6 +100,7 @@ raylibJs.stop(); } raylibJs = new RaylibJs(); + if (localStorage.DEBUG_RAYLIB_JS) window.raylibJs = raylibJs; raylibJs.start({ wasmPath: `wasm/${selectedWasm}.wasm`, canvasId: "game",