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,5 +1,5 @@
import { gameCanvas } from "./render";
import { isInWebView, max_levels } from "./game_utils";
import { isInWebView, max_levels, renderMaxLevel } from "./game_utils";
import { getAudioRecordingTrack } from "./sounds";
import { t } from "./i18n/i18n";
import { GameState } from "./types";
@ -53,7 +53,7 @@ export function drawMainCanvasOnSmallCanvas(gameState: GameState) {
recordCanvasCtx.textAlign = "left";
recordCanvasCtx.fillText(
"Level " + (gameState.currentLevel + 1) + "/" + max_levels(gameState),
"Level " + (gameState.currentLevel + 1) + "/" + renderMaxLevel(gameState),
12,
12,
);