mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-06-15 18:54:47 -04:00
wip
This commit is contained in:
parent
4d7d57f17f
commit
b3949d8c41
11 changed files with 139 additions and 79 deletions
|
@ -9,7 +9,12 @@ import {
|
|||
pickedUpgradesHTMl,
|
||||
reasonLevelIsLocked,
|
||||
} from "./game_utils";
|
||||
import {askForPersistentStorage, 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,7 +35,7 @@ export function gameOver(title: string, intro: string) {
|
|||
|
||||
gameState.isGameOver = true;
|
||||
pause(true);
|
||||
askForPersistentStorage()
|
||||
askForPersistentStorage();
|
||||
stopRecording();
|
||||
addToTotalPlayTime(gameState.runStatistics.runTime);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue