mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-09 05:33:37 +08:00
window logic fix
This commit is contained in:
@@ -42,6 +42,13 @@ public class UIPatch: PatchImpl<UIPatch>
|
||||
return Functions.UIFunctions.CornerComboBoxIndex == 0;
|
||||
}
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(UIStarmapStar), nameof(UIStarmapStar._OnClose))]
|
||||
private static void UIStarmapStar__OnClose_Postfix(UIStarmapStar __instance)
|
||||
{
|
||||
Functions.UIFunctions.StarmapFilterToggler?.SetCheckedWithEvent(false);
|
||||
}
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(UIMechaLab), nameof(UIMechaLab.DetermineVisible))]
|
||||
private static bool UIMechaLab_DetermineVisible_Prefix(UIMechaLab __instance, ref bool __result)
|
||||
|
||||
Reference in New Issue
Block a user