Passive income and clairvoyant adjusments

This commit is contained in:
Renan LE CARO 2025-03-24 10:19:15 +01:00
parent 41b3e6f00b
commit 5a10f7d768
10 changed files with 68 additions and 57 deletions

View file

@ -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();