mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-05-12 21:11:05 +00:00
Fixed minor oddities
This commit is contained in:
parent
00a5c2f288
commit
b5a850bbee
3 changed files with 7 additions and 4 deletions
js/technical
|
@ -200,7 +200,7 @@ function setupLayer(layer){
|
|||
ROW_LAYERS[row][layer]=layer;
|
||||
let position = (layers[layer].position !== undefined ? layers[layer].position : layer)
|
||||
|
||||
if (!isNaN(displayRow)) TREE_LAYERS[displayRow].push({layer: layer, position: position})
|
||||
if (!isNaN(displayRow) || displayRow < 0) TREE_LAYERS[displayRow].push({layer: layer, position: position})
|
||||
else OTHER_LAYERS[displayRow].push({layer: layer, position: position})
|
||||
|
||||
if (maxRow < layers[layer].displayRow) maxRow = layers[layer].displayRow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue