From ffbd81e2b6fedc735d7d0d6652fb81db2195826d Mon Sep 17 00:00:00 2001 From: GGodPL <46885632+GGodPL@users.noreply.github.com> Date: Mon, 10 Jul 2023 14:06:28 +0200 Subject: [PATCH] Update betterModManager.js updateModManager should be called on load --- mods/betterModManager.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mods/betterModManager.js b/mods/betterModManager.js index daea8136..29b7356e 100644 --- a/mods/betterModManager.js +++ b/mods/betterModManager.js @@ -114,8 +114,7 @@ function openModList() { showingMenu = "modList"; } -// called just once, changes the menu title, adds the button, changes the modManagerList css and adds modList component -updateModManager(); +runAfterLoadList.push(updateModManager); closeMenu = function() { if (!showingMenu) { return; }