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

Updated docs, made layer type default to none

This commit is contained in:
Acamaeda 2020-10-25 22:25:42 -04:00
parent d94b225a6f
commit 9a4302b56a
8 changed files with 60 additions and 12 deletions

View file

@ -126,6 +126,7 @@ function updateLayers(){
if(layers[layer].unlockOrder === undefined) layers[layer].unlockOrder = []
if(layers[layer].gainMult === undefined) layers[layer].gainMult = new Decimal(1)
if(layers[layer].gainExp === undefined) layers[layer].gainExp = new Decimal(1)
if(layers[layer].type === undefined) layers[layer].type = "none"
let row = layers[layer].row
if(!ROW_LAYERS[row]) ROW_LAYERS[row] = {}