logical fix

This commit is contained in:
JustAGenericUsername 2024-01-24 14:33:56 -05:00
parent 3098dcba7d
commit 6eeec2f3c8
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ elements.L2E_constant = {
var x = pixel.x+coord[0];
var y = pixel.y+coord[1];
if (!isEmpty(x,y,true)) {
if (pixelMap[x][y].element == "logic_wire" && pixelMap[x][y].lstate){
if (pixelMap[x][y].element == "logic_wire" && pixelMap[x][y].lstate > 0){
foundOn = true;
}
}