fix inserter bug

This commit is contained in:
Laetitia (O-01-67) 2023-02-27 10:23:54 -05:00 committed by GitHub
parent 0bb34b80f1
commit 5083a7f407
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,8 +14,8 @@ var colorOffsetMod = "mods/maxColorOffset.js";
if(!enabledMods.includes(libraryMod)) {
enabledMods.splice(enabledMods.indexOf(modName),0,libraryMod);
enabledMods.splice(enabledMods.indexOf(modName),0,colorOffsetMod);
localStorage.setItem("enabledMods", JSON.stringify(enabledMods));
localStorage.setItem("enabledMods", JSON.stringify(colorOffsetMod));
alert(`The ${libraryMod} and ${colorOffsetMod} mods are required and have been automatically inserted (reload for this to take effect).`);
} else {