From 5fd01ffb1ad90e4ab8f80ba1c9646240b2aa82a7 Mon Sep 17 00:00:00 2001 From: XtraCube <72575280+XtraCube@users.noreply.github.com> Date: Sat, 17 May 2025 10:32:34 -0400 Subject: [PATCH] fix crashing after meetings --- MiraAPI/Patches/Hud/ButtonResetPatches.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MiraAPI/Patches/Hud/ButtonResetPatches.cs b/MiraAPI/Patches/Hud/ButtonResetPatches.cs index b9756ce..8423028 100644 --- a/MiraAPI/Patches/Hud/ButtonResetPatches.cs +++ b/MiraAPI/Patches/Hud/ButtonResetPatches.cs @@ -1,5 +1,6 @@ using HarmonyLib; using MiraAPI.Hud; +using Reactor.Utilities; namespace MiraAPI.Patches.Hud; @@ -26,7 +27,8 @@ public static class ButtonResetPatches /// Resets the cooldown and effect of all custom buttons after the exile screen is closed. /// [HarmonyPostfix] - [HarmonyPatch(typeof(ExileController), nameof(ExileController.ReEnableGameplay))] + [HarmonyPatch(typeof(ExileController), nameof(ExileController.WrapUp))] + [HarmonyPatch(typeof(AirshipExileController), nameof(AirshipExileController.WrapUpAndSpawn))] public static void ExileControllerReEnableGameplayPostfix() { foreach (var customActionButton in CustomButtonManager.CustomButtons)