This commit is contained in:
landgreen
2022-09-20 21:15:18 -07:00
parent 4553a5ee99
commit 9d0a49de19
3 changed files with 6 additions and 8 deletions

View File

@@ -664,10 +664,12 @@ const lore = {
() => {
if (mobs.mobDeaths < level.levelsCleared) {
lore.miriam.text(`So I think it worked.`)
localSettings.loreCount++
if (localSettings.isAllowed) localStorage.setItem("localSettings", JSON.stringify(localSettings)); //update local storage
// localSettings.loreCount++
// if (localSettings.isAllowed) localStorage.setItem("localSettings", JSON.stringify(localSettings)); //update local storage
} else if (!simulation.isCheating) {
lore.miriam.text(`Looks like you got back here, but you killed ${mobs.mobDeaths} mobs`)
localSettings.loreCount--
if (localSettings.isAllowed) localStorage.setItem("localSettings", JSON.stringify(localSettings)); //update local storage
}
},
() => {