fix fatal issue in explodeAtPlus
smoke wasn't being split to an array like fire
This commit is contained in:
parent
edd39e57ea
commit
8b23600ac1
|
|
@ -104,6 +104,9 @@ if(enabledMods.includes(runAfterAutogenMod)) {
|
||||||
if (fire.indexOf(",") !== -1) {
|
if (fire.indexOf(",") !== -1) {
|
||||||
fire = fire.split(",");
|
fire = fire.split(",");
|
||||||
}
|
}
|
||||||
|
if (smoke.indexOf(",") !== -1) {
|
||||||
|
smoke = smoke.split(",");
|
||||||
|
};
|
||||||
var coords = circleCoords(x,y,radius);
|
var coords = circleCoords(x,y,radius);
|
||||||
var power = radius/10;
|
var power = radius/10;
|
||||||
//for (var p = 0; p < Math.round(radius/10+1); p++) {
|
//for (var p = 0; p < Math.round(radius/10+1); p++) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue