From dcad3c4c356d44e9699112efafccba8162a256d7 Mon Sep 17 00:00:00 2001 From: MSWS Date: Sun, 1 Sep 2024 20:20:03 -0700 Subject: [PATCH] Fix OITC settings persisting after round end --- mod/Jailbreak.SpecialDay/SpecialDays/OneInTheChamberDay.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/Jailbreak.SpecialDay/SpecialDays/OneInTheChamberDay.cs b/mod/Jailbreak.SpecialDay/SpecialDays/OneInTheChamberDay.cs index 48948492..f48908df 100644 --- a/mod/Jailbreak.SpecialDay/SpecialDays/OneInTheChamberDay.cs +++ b/mod/Jailbreak.SpecialDay/SpecialDays/OneInTheChamberDay.cs @@ -85,6 +85,7 @@ override protected HookResult OnEnd(EventRoundEnd @event, GameEventInfo info) { Plugin.DeregisterEventHandler(OnPlayerDamage); Plugin.DeregisterEventHandler(OnPlayerDeath); + Plugin.DeregisterEventHandler(OnPickup); return base.OnEnd(@event, info); }