We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55bc3e3 commit a214f0cCopy full SHA for a214f0c
1 file changed
src/gui/options/mod-options-menu.ts
@@ -42,7 +42,8 @@ declare global {
42
}
43
44
45
-modmanager.openModOptionsMenu = (modId: string, tab?: number) => {
+modmanager.openModOptionsMenu = async (modId: string, tab?: number) => {
46
+ await LocalMods.initAll()
47
const record = LocalMods.getAllRecord()
48
const mod = record[modId]
49
if (!mod) throw new Error(`Mod: "${modId}" does not have options menu!`)
0 commit comments