From 523d03d3d206da6b67706442db7e973ad18c5121 Mon Sep 17 00:00:00 2001 From: nif Date: Thu, 18 Apr 2024 18:18:59 +0000 Subject: [PATCH] Light fix for if save grab fails also i figured out how to test it (incognito) Signed-off-by: nif --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index c8a04d7..386a779 100644 --- a/main.js +++ b/main.js @@ -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