From 10490220ebda1bed0632ba923b5859b3be883bdf Mon Sep 17 00:00:00 2001 From: An Orbit <68935009+orbit-loona@users.noreply.github.com> Date: Mon, 20 May 2024 01:23:52 -0400 Subject: [PATCH] troll5,6 fatal bug fix --- mods/a_mod_by_alice.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/a_mod_by_alice.js b/mods/a_mod_by_alice.js index 7486d190..e95470f6 100644 --- a/mods/a_mod_by_alice.js +++ b/mods/a_mod_by_alice.js @@ -5972,7 +5972,7 @@ color1 and color2 spread through striped paint like dye does with itself. col }, elements.troll_5 = { color: "#eeeeee", - tick: function() { + tick: function(pixel) { var target = randomChoice(currentPixels); if(target && !(isEmpty(target.x,target.y))) { target.r ??= 0; @@ -5987,7 +5987,7 @@ color1 and color2 spread through striped paint like dye does with itself. col } elements.troll_6 = { color: "#eeeeee", - tick: function() { + tick: function(pixel) { if(pixel.temp < -273) { pixel.temp = -273; };