troll5,6 fatal bug fix

This commit is contained in:
An Orbit 2024-05-20 01:23:52 -04:00 committed by GitHub
parent 57405dffbb
commit 10490220eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -5972,7 +5972,7 @@ color1 and color2 spread through striped paint like dye does with itself. <u>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. <u>col
}
elements.troll_6 = {
color: "#eeeeee",
tick: function() {
tick: function(pixel) {
if(pixel.temp < -273) {
pixel.temp = -273;
};