mod hotfix
This commit is contained in:
parent
5a06d7612d
commit
2bbf52dafb
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue