Skip to content

Commit

Permalink
Fixed build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
B3none committed Jan 28, 2024
1 parent a4363fd commit c6fb4b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClutchAnnouncePlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public HookResult OnRoundEnd(EventRoundEnd @event, GameEventInfo info)

if (IsValidPlayer(_clutchPlayer) && (CsTeam)@event.Winner == _clutchTeam)
{
Server.PrintToChatAll(MessagePrefix + _translator["clutch_announce.clutched", _clutchPlayer.PlayerName, _opponents]);
Server.PrintToChatAll(MessagePrefix + _translator["clutch_announce.clutched", _clutchPlayer!.PlayerName, _opponents]);
}

_clutchPlayer = null;
Expand Down

0 comments on commit c6fb4b8

Please sign in to comment.