fix fatal issue in explodeAtPlus

smoke wasn't being split to an array like fire
This commit is contained in:
O-01-67 2022-10-10 13:27:49 -04:00 committed by GitHub
parent edd39e57ea
commit 8b23600ac1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,9 @@ if(enabledMods.includes(runAfterAutogenMod)) {
if (fire.indexOf(",") !== -1) {
fire = fire.split(",");
}
if (smoke.indexOf(",") !== -1) {
smoke = smoke.split(",");
};
var coords = circleCoords(x,y,radius);
var power = radius/10;
//for (var p = 0; p < Math.round(radius/10+1); p++) {