Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
KingBecks123 authored Mar 9, 2023
1 parent aa4e2df commit c496582
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions functions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
function gameStart() {
loadStuff(JSON.parse(localStorage.getItem("mathAdventureSave")))

secondsOffline = Math.floor((Date.now() - gameData.lastSaveTime) / 1000)
onLoadSkills ()
onLoadBase ()
Expand All @@ -12,8 +13,14 @@ function gameStart() {

mainGameLoop()
mainGameLoopSlow()

if (localStorage.getItem("mathAdventureSave") == null) {
reset()
}

updateValues()


function mainGameLoop() {
mainGameLoopForest()
mainGameLoopInventory()
Expand Down

0 comments on commit c496582

Please sign in to comment.