diff --git a/mods/heatglow.js b/mods/heatglow.js index 2293bc77..f3805ca5 100644 --- a/mods/heatglow.js +++ b/mods/heatglow.js @@ -38,7 +38,7 @@ const heatfunc = function(pixel){ pixel.color = "rgb(" + weightedAverage(pixel.ogR, newR, weight) + "," + weightedAverage(pixel.ogG, newG, weight) + "," + weightedAverage(pixel.ogB, newB, weight) + ")"; }}}; if (!eLists.metals) { eLists.metals = [] } - eLists.metals = eLists.metals.concat(["iron", "glass", "copper", "gold", "brass","steel","nickel","zinc","silver","aluminum","bronze","metal_scrap","oxidized_copper","tin","lead", "rose_gold"]) + eLists.metals = eLists.metals.concat(["iron", "glass", "copper", "gold", "brass","steel","nickel","zinc","silver","aluminum","bronze","metal_scrap","oxidized_copper","tin","lead", "rose_gold", "tungsten"]) eLists.metals.forEach(metal => { const prefunc = elements[metal].tick; if (!prefunc){ diff --git a/mods/nousersthings.js b/mods/nousersthings.js index 2d3c2922..db810a70 100644 --- a/mods/nousersthings.js +++ b/mods/nousersthings.js @@ -3093,7 +3093,7 @@ elements.piston_ray_emitter = { var lx = lcoord[0]; var ly = lcoord[1]; if (!isEmpty(lx, ly, true)){ - tryMove(pixelMap[lx][ly], pCoord[0], pCoord[1]) + tryMove(pixelMap[lx][ly], pCoord[0], pCoord[1], null, true) } pCoord[0] = lx; pCoord[1] = ly; @@ -3153,7 +3153,7 @@ elements.specific_piston_ray_emitter = { var lx = lcoord[0]; var ly = lcoord[1]; if (!isEmpty(lx, ly, true)){ - tryMove(pixelMap[lx][ly], pCoord[0], pCoord[1]) + tryMove(pixelMap[lx][ly], pCoord[0], pCoord[1], null, true) } pCoord[0] = lx; pCoord[1] = ly;