1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-04-30 13:32:10 +00:00

Lore has evolved into infoboxes!

This commit is contained in:
Acamaeda 2020-10-25 18:21:02 -04:00
parent c5e60b082d
commit 79c5aad414
6 changed files with 32 additions and 15 deletions

View file

@ -109,7 +109,15 @@ function updateLayers(){
layers[layer].bars[thing].layer = layer
if (layers[layer].bars[thing].unlocked === undefined)
layers[layer].bars[thing].unlocked = true
}
}
if (layers[layer].infoboxes){
for (thing in layers[layer].infoboxes){
layers[layer].infoboxes[thing].id = thing
layers[layer].infoboxes[thing].layer = layer
if (layers[layer].infoboxes[thing].unlocked === undefined)
layers[layer].infoboxes[thing].unlocked = true
}
}