diff --git a/mods/the_ground.js b/mods/the_ground.js index 83f8a0d5..59d4b7aa 100644 --- a/mods/the_ground.js +++ b/mods/the_ground.js @@ -2513,7 +2513,7 @@ if(enabledMods.includes(libraryMod) && enabledMods.includes(colorOffsetMod)) { pixel.wet--; } else { //if exposed, continuously try to boil off to random neighbor if(exposedToAir(pixel)) { - var randomNeighbor = adjacentCoords[Math.floor(Math.random() * neighbors.length)] + var randomNeighbor = adjacentCoords[Math.floor(Math.random() * adjacentCoords.length)] var rnx = randomNeighbor[0] var rny = randomNeighbor[1] if(isEmpty(pixel.x+rnx, pixel.y+rny, false)) {