Browse Source

Fixed buildings not becoming visible when reloading the page

tags/v0.0.1
Fen Dweller 7 years ago
parent
commit
07a12bb215
No known key found for this signature in database GPG Key ID: E80B35A6F11C3656
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      gorge.js

+ 6
- 0
gorge.js View File

@@ -227,6 +227,12 @@ function setup() {

function unlockAtStart() {
unlockBuilding("micro");

for (const [key, value] of Object.entries(belongings)) {
if (belongings[key].visible) {
unlockBuilding(key);
}
}
}

function unlockBuilding(id) {


Loading…
Cancel
Save