mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-06-16 03:05:03 -04:00
wip
This commit is contained in:
parent
1ba55bf2a6
commit
4d7d57f17f
15 changed files with 165 additions and 120 deletions
|
@ -9,7 +9,7 @@ import {
|
|||
pickedUpgradesHTMl,
|
||||
reasonLevelIsLocked,
|
||||
} from "./game_utils";
|
||||
import { getSettingValue, getTotalScore, setSettingValue } from "./settings";
|
||||
import {askForPersistentStorage, getSettingValue, getTotalScore, setSettingValue} from "./settings";
|
||||
import { stopRecording } from "./recording";
|
||||
import { asyncAlert } from "./asyncAlert";
|
||||
import { rawUpgrades } from "./upgrades";
|
||||
|
@ -30,6 +30,7 @@ export function gameOver(title: string, intro: string) {
|
|||
|
||||
gameState.isGameOver = true;
|
||||
pause(true);
|
||||
askForPersistentStorage()
|
||||
stopRecording();
|
||||
addToTotalPlayTime(gameState.runStatistics.runTime);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue