Update borders.js

This commit is contained in:
slweeb 2025-11-25 21:59:59 -05:00
parent f7c1b3e023
commit 8100e2ab0d
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
viewInfo[1].pre = function(ctx) {
currentPixels.forEach(pixel => {
if (!elements[pixel.element].movable) return;
if (elements[pixel.element].movable !== true || elements[pixel.element].isGas === true) return;
let edge = false;
for (var i = 0; i < adjacentCoords.length; i++) {
var coords = adjacentCoords[i];