This commit is contained in:
Renan LE CARO 2025-04-12 20:58:24 +02:00
parent 19ee1d0d33
commit 34f6aed001
11 changed files with 29 additions and 16 deletions

View file

@ -99,7 +99,9 @@ export function render(gameState: GameState) {
`<span class="score" data-tooltip="${t("play.score_tooltip")}">$${gameState.score}</span>`;
scoreDisplay.className =
gameState.lastScoreIncrease > gameState.levelTime - 500 ? "active" : "";
(gameState.computer_controlled && "hidden") ||
(gameState.lastScoreIncrease > gameState.levelTime - 500 && "active") ||
"";
// Clear
if (!isOptionOn("basic") && level.svg && level.color === "#000000") {