1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 00:13:36 +08:00

UXAssist v1.3.5

This commit is contained in:
2025-05-10 20:09:30 +08:00
parent 7bd8abe7e6
commit 75030c5b23
10 changed files with 10 additions and 15 deletions

View File

@@ -112,7 +112,6 @@ public class GamePatch : PatchImpl<GamePatch>
public static void Start()
{
RefreshSavePath();
if (LoadLastWindowRectEnabled.Value)
{
FixLastWindowRect();
@@ -128,6 +127,8 @@ public class GamePatch : PatchImpl<GamePatch>
// AutoSaveOpt.Enable(AutoSaveOptEnabled.Value);
ConvertSavesFromPeace.Enable(ConvertSavesFromPeaceEnabled.Value);
Enable(true);
RefreshSavePath();
}
public static void Uninit()
@@ -533,7 +534,6 @@ public class GamePatch : PatchImpl<GamePatch>
[HarmonyPatch(typeof(GameOption), nameof(GameOption.LoadGlobal))]
private static bool GameOption_LoadGlobal_Prefix(ref GameOption __instance)
{
UXAssist.Logger.LogDebug("Loading global option");
var profileName = WindowFunctions.ProfileName;
if (profileName == null)
{