This commit is contained in:
JustAGenericUsername 2024-10-29 16:17:36 -04:00
parent bc7fe78146
commit 11156ecf9f
1 changed files with 1 additions and 0 deletions

View File

@ -3104,6 +3104,7 @@ elements.piston_ray_emitter = {
var lx = lcoord[0];
var ly = lcoord[1];
if (!isEmpty(lx, ly, true)){
if (pixelMap[lx][ly].element == "insulator"){break;}
tryMove(pixelMap[lx][ly], pCoord[0], pCoord[1], null, true)
}
pCoord[0] = lx;