Build 29068563

This commit is contained in:
Renan LE CARO 2025-04-08 14:03:38 +02:00
parent 6ef13f2d19
commit df8bfbb350
25 changed files with 384 additions and 336 deletions

View file

@ -74,7 +74,7 @@ import { getHistory } from "./gameOver";
import { generateSaveFileContent } from "./generateSaveFileContent";
import { runHistoryViewerMenuEntry } from "./runHistoryViewer";
import { getNearestUnlockHTML, openScorePanel } from "./openScorePanel";
import {monitorLevelsUnlocks} from "./monitorLevelsUnlocks";
import { monitorLevelsUnlocks } from "./monitorLevelsUnlocks";
export async function play() {
if (await applyFullScreenChoice()) return;
@ -298,8 +298,8 @@ export async function openUpgradesPicker(gameState: GameState) {
`,
...actions,
getNearestUnlockHTML(gameState),
pickedUpgradesHTMl(gameState),
getNearestUnlockHTML(gameState),
`<div id="level-recording-container"></div>`,
],
@ -424,7 +424,7 @@ setInterval(() => {
}, 1000);
setInterval(() => {
monitorLevelsUnlocks(gameState)
monitorLevelsUnlocks(gameState);
}, 500);
window.addEventListener("visibilitychange", () => {