Skip to content

Commit

Permalink
Fix improper instance variable usage
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Feb 21, 2024
1 parent 4b3f1c1 commit 481409b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mod/Jailbreak.Rebel/RebelManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<CCSPlayerController, long> _rebelTimes = new();
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 481409b

Please sign in to comment.