Selaa lähdekoodia

Fixed buildings not becoming visible when reloading the page

tags/v0.0.1
Fen Dweller 7 vuotta sitten
vanhempi
commit
07a12bb215
No known key found for this signature in database GPG Key ID: E80B35A6F11C3656
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. +6
    -0
      gorge.js

+ 6
- 0
gorge.js Näytä tiedosto

@@ -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…
Peruuta
Tallenna