mod hotfix

This commit is contained in:
slweeb 2024-05-19 19:40:22 -04:00
parent 5a06d7612d
commit 2bbf52dafb
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ function reactPixels(pixel1,pixel2) {
if (r.tempMax !== undefined && pixel1.temp > r.tempMax) {
return false;
}
if (r.charged && !pixel.charge) {
if (r.charged && !pixel1.charge) {
return false;
}
if (r.chance !== undefined && Math.random() > r.chance) {

View File

@ -31,7 +31,7 @@ function reactPixels(pixel1,pixel2) {
if (r.burning2 !== undefined && Boolean(pixel2.burning) !== r.burning2) {
return false;
}
if (r.charged && !pixel.charge) {
if (r.charged && !pixel1.charge) {
return false;
}
if (r.chance !== undefined && Math.random() > r.chance) {

View File

@ -42,7 +42,7 @@ function reactPixels(pixel1,pixel2) {
if (r.burning2 !== undefined && Boolean(pixel2.burning) !== r.burning2) {
return false;
}
if (r.charged && !pixel.charge) {
if (r.charged && !pixel1.charge) {
return false;
}
if (r.chance !== undefined && Math.random() > r.chance) {