mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-23 21:46:15 -04:00
Passive income and clairvoyant adjusments
This commit is contained in:
parent
41b3e6f00b
commit
5a10f7d768
10 changed files with 68 additions and 57 deletions
|
@ -973,6 +973,7 @@ document.addEventListener("keyup", async (e) => {
|
|||
export const gameState = newGameState({});
|
||||
|
||||
export function restart(params: RunParams) {
|
||||
fitSize();
|
||||
Object.assign(gameState, newGameState(params));
|
||||
pauseRecording();
|
||||
setLevel(gameState, 0);
|
||||
|
@ -998,5 +999,4 @@ restart(
|
|||
}
|
||||
: {},
|
||||
);
|
||||
fitSize();
|
||||
tick();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue