Light fix for if save grab fails

also i figured out how to test it (incognito)

Signed-off-by: nif <nif@incremental.social>
This commit is contained in:
Nif 2024-04-18 18:18:59 +00:00
parent 7d1aaebc5b
commit 523d03d3d2

View file

@ -215,7 +215,7 @@ if (localStorage.getItem("nif's-infinite-generators")) {
if (falsePlayer.unlocked) player.unlocked = {...player.unlocked, ...falsePlayer.unlocked}
if (falsePlayer.cupgs) player.cupgs = [...player.cupgs, ...falsePlayer.cupgs]
for (const i in player.gens) newGenerator(Number(i))
}
} else { newGenerator(0) }
function updateVars() {
const dt = 0.05