diff --git a/mods/nellfire.js b/mods/nellfire.js index e304b150..6f05324e 100644 --- a/mods/nellfire.js +++ b/mods/nellfire.js @@ -538,7 +538,7 @@ if(enabledMods.includes(groundMod) && enabledMods.includes(libHookTickMod)) { info.nellFireColor */ - function doHellfire(pixel) { + function doNellfire(pixel) { var info = elements[pixel.element]; if((info.nellfireImmune && info.nellfireImmune !== "torch") && pixel.nellburn) { delete pixel.nellburn; @@ -706,7 +706,7 @@ if(enabledMods.includes(groundMod) && enabledMods.includes(libHookTickMod)) { if(paused) { return }; var nellfirePixels = currentPixels.filter(function(pixel) { return pixel.nellburn }); for(var pixel in nellfirePixels) { - doHellfire(nellfirePixels[pixel]); + doNellfire(nellfirePixels[pixel]); }; }); } else { @@ -714,4 +714,4 @@ if(enabledMods.includes(groundMod) && enabledMods.includes(libHookTickMod)) { enabledMods.splice(enabledMods.indexOf(modName),0,libHookTickMod); localStorage.setItem("enabledMods", JSON.stringify(enabledMods)); alert(`The ${groundMod} and ${libHookTickMod} mods are required and have been automatically inserted (reload for this to take effect).`); -}; \ No newline at end of file +};