Update borders.js
This commit is contained in:
parent
f7c1b3e023
commit
8100e2ab0d
|
|
@ -1,6 +1,6 @@
|
||||||
viewInfo[1].pre = function(ctx) {
|
viewInfo[1].pre = function(ctx) {
|
||||||
currentPixels.forEach(pixel => {
|
currentPixels.forEach(pixel => {
|
||||||
if (!elements[pixel.element].movable) return;
|
if (elements[pixel.element].movable !== true || elements[pixel.element].isGas === true) return;
|
||||||
let edge = false;
|
let edge = false;
|
||||||
for (var i = 0; i < adjacentCoords.length; i++) {
|
for (var i = 0; i < adjacentCoords.length; i++) {
|
||||||
var coords = adjacentCoords[i];
|
var coords = adjacentCoords[i];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue