From 9e614042446b023e39ca007833c51610de53d698 Mon Sep 17 00:00:00 2001 From: "Laetitia (O-01-67)" <68935009+O-01-67@users.noreply.github.com> Date: Wed, 1 Mar 2023 10:18:10 -0500 Subject: [PATCH] fix replace issue --- mods/nellfire.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 +};