diff options
Diffstat (limited to '2026/index.html')
| -rw-r--r-- | 2026/index.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/2026/index.html b/2026/index.html index 8c2163e..f6038b1 100644 --- a/2026/index.html +++ b/2026/index.html @@ -177,7 +177,9 @@ function confirmStartGame(idx, verb) { if (state.mode == "starting" && state.idx === idx) { setState({mode: "running", idx: idx}); - framing.contentWindow.postMessage({op: "startgame", verb: verb}); + let nm = microgames[idx].url.match(/\/games\/(\w+)\/index\.html/)[1]; + console.log(nm); + framing.contentWindow.postMessage({op: "startgame", name: nm, verb: verb}); microgames[idx].loaded.contentWindow.focus(); } } |
