From c6fb4b8c055080af16b55bfbae4f20674af646ca Mon Sep 17 00:00:00 2001 From: B3none Date: Sun, 28 Jan 2024 16:03:38 +0000 Subject: [PATCH] Fixed build warning --- ClutchAnnouncePlugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ClutchAnnouncePlugin.cs b/ClutchAnnouncePlugin.cs index e8e49b0..b467205 100644 --- a/ClutchAnnouncePlugin.cs +++ b/ClutchAnnouncePlugin.cs @@ -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;