From 481409bf5a37e6601517ac4b1779e9bd9a27fbd5 Mon Sep 17 00:00:00 2001 From: MSWS Date: Tue, 20 Feb 2024 16:54:38 -0800 Subject: [PATCH] Fix improper instance variable usage --- mod/Jailbreak.Rebel/RebelManager.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mod/Jailbreak.Rebel/RebelManager.cs b/mod/Jailbreak.Rebel/RebelManager.cs index c655ee18..22d53275 100644 --- a/mod/Jailbreak.Rebel/RebelManager.cs +++ b/mod/Jailbreak.Rebel/RebelManager.cs @@ -13,7 +13,6 @@ namespace Jailbreak.Rebel; public class RebelManager : IPluginBehavior, IRebelService { - private IRebelNotifications notifs; private readonly IRichLogService _logs; private readonly IRebelNotifications _notifs; private readonly Dictionary _rebelTimes = new(); @@ -121,7 +120,7 @@ public bool MarkRebel(CCSPlayerController player, long time = 120) public void UnmarkRebel(CCSPlayerController player) { - notifs.NO_LONGER_REBEL.ToPlayerChat(player); + _notifs.NO_LONGER_REBEL.ToPlayerChat(player); _logs.Append(_logs.Player(player), "is no longer a rebel."); _rebelTimes.Remove(player);