saner alert order

This commit is contained in:
Laetitia (O-01-67) 2023-01-30 09:19:03 -05:00 committed by GitHub
parent fae0f0dd5e
commit a173c62563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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));
};