fix non-behavior elements being called stationary
This commit is contained in:
parent
b839ff3fe6
commit
37c84b6d5e
|
|
@ -5941,7 +5941,7 @@ for (var k = 0; k < b0.split(" AND ").length; k++) {
|
|||
sticks = sticks.filter(function(item, pos) {return sticks.indexOf(item) == pos;});
|
||||
if (info.category == "tools") { infoText.innerHTML += "\nTool."}
|
||||
else {
|
||||
if (!moves) { infoText.innerHTML += "\nStationary."; }
|
||||
if (!moves && info.behavior) { infoText.innerHTML += "\nStationary."; }
|
||||
if (info.category) { infoText.innerHTML += "\nCategory: "+info.category.toUpperCase()+"."; }
|
||||
if (info.conduct) { infoText.innerHTML += "\nConducts electricity."; }
|
||||
if (swaps.length > 0) { infoText.innerHTML += "\nMoves through "+infoLink(swaps)+"."; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue