From a173c62563ca5351baa02f4c55d6e0da4a674012 Mon Sep 17 00:00:00 2001 From: "Laetitia (O-01-67)" <68935009+O-01-67@users.noreply.github.com> Date: Mon, 30 Jan 2023 09:19:03 -0500 Subject: [PATCH] saner alert order --- mods/color_tools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/color_tools.js b/mods/color_tools.js index 94a8d7eb..75bc614f 100644 --- a/mods/color_tools.js +++ b/mods/color_tools.js @@ -429,7 +429,7 @@ if(enabledMods.includes(libraryMod)) { //do cooldown for mouse size > 1 } else { - alert(`The ${libraryMod} mod is required and has been automatically inserted (reload for this to take effect).`) enabledMods.splice(enabledMods.indexOf(modName),0,libraryMod) + alert(`The ${libraryMod} mod is required and has been automatically inserted (reload for this to take effect).`) localStorage.setItem("enabledMods", JSON.stringify(enabledMods)); };