Build 29126616

This commit is contained in:
Renan LE CARO 2025-05-18 21:37:12 +02:00
parent 810df5962a
commit 7f50b67c60
22 changed files with 209 additions and 30 deletions

View file

@ -1,7 +1,11 @@
import { GameState, PerkId } from "./types";
import { asyncAlert } from "./asyncAlert";
import { t } from "./i18n/i18n";
import { levelsListHTMl, max_levels, pickedUpgradesHTMl } from "./game_utils";
import {
levelsListHTMl,
pickedUpgradesHTMl,
renderMaxLevel,
} from "./game_utils";
import { getCreativeModeWarning, getHistory } from "./gameOver";
import { pause } from "./game";
import { allLevels, icons, upgrades } from "./loadGameData";
@ -21,7 +25,7 @@ export async function openScorePanel(gameState: GameState) {
title: t("score_panel.title", {
score: gameState.score,
level: gameState.currentLevel + 1,
max: max_levels(gameState),
max: renderMaxLevel(gameState),
}),
content: [