fix crashing after meetings

This commit is contained in:
XtraCube committed 2025-05-17 10:32:34 -04:00
1 parent f0f6ef1a17
commit 5fd01ffb1a
1 file changed
+3 -1
+3 -1
View File
@@ -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.
/// </summary>
[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)