hhhhhhhhhhhhhhhhhhhhhh

This commit is contained in:
JustAGenericUsername 2024-01-24 14:41:50 -05:00
parent 88ef25372d
commit 6b9fc806ab
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ function countNeighbors(){
if (!isEmpty(x,y, true)) {
var otherPixel = pixelMap[x][y];
if (otherPixel.element == "logic_wire"){
if (otherPixel.lstate){
if (otherPixel.lstate > 0){
results.charged = results.charged + 1;
} else {
results.uncharged = results.uncharged + 1;