Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Commit d48f695

Browse files
committed
fix prefs not loading
1 parent 9524401 commit d48f695

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

AstralUI.UIMGUI.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Collections.Generic;
66
using UnityEngine;
77

8-
[assembly: MelonInfo(typeof(Astrum.AstralUI.UIMGUI), "AstralUI.UIMGUI", "1.1.0", downloadLink: "github.com/Astrum-Project/AstralUI.UIMGUI")]
8+
[assembly: MelonInfo(typeof(Astrum.AstralUI.UIMGUI), "AstralUI.UIMGUI", "1.1.1", downloadLink: "github.com/Astrum-Project/AstralUI.UIMGUI")]
99
[assembly: MelonColor(ConsoleColor.DarkMagenta)]
1010

1111
namespace Astrum.AstralUI
@@ -26,6 +26,8 @@ public override void OnApplicationStart()
2626
MelonPreferences_Category category = MelonPreferences.CreateCategory("Astrum-AstralUI-UIMGUI", "AstralUI UIMGUI");
2727

2828
category.CreateEntry(nameof(color), new Color32(0x56, 0x00, 0xA5, 0xFF), "Color");
29+
30+
OnPreferencesLoaded();
2931
}
3032

3133
public override void OnPreferencesSaved() => OnPreferencesLoaded();

0 commit comments

Comments
 (0)