Update allthemods.js

sorry about that, i tested locally with correct functionality but in a github gist linked to the website, i noticed some errors.
This commit is contained in:
everybodysimulator 2026-01-24 09:35:58 -05:00 committed by GitHub
parent 5042a1d146
commit c045baf3db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ if(!all_mods_included) {
var mods_needed = mods_to_include.filter(function(modPath) { return !(enabledMods.includes(modPath)) }); var mods_needed = mods_to_include.filter(function(modPath) { return !(enabledMods.includes(modPath)) });
mods_needed.forEach(function(modPath) { mods_needed.forEach(function(modPath) {
enabledMods.splice(enabledMods.indexOf("mods/electricitymods"),0,modPath); enabledMods.splice(enabledMods.indexOf("mods/allthemods"),0,modPath);
}); });
localStorage.setItem("enabledMods", JSON.stringify(enabledMods)); localStorage.setItem("enabledMods", JSON.stringify(enabledMods));
alert(`The following mods have been inserted: ${mods_needed.join(", ")} alert(`The following mods have been inserted: ${mods_needed.join(", ")}