From aeb51a02d8080c11299bc1a97516e261d0e8c9ba Mon Sep 17 00:00:00 2001 From: Histalek <16392835+Histalek@users.noreply.github.com> Date: Tue, 17 Oct 2023 02:48:29 +0200 Subject: [PATCH] Update gamemodes/terrortown/entities/entities/ttt_game_text.lua --- gamemodes/terrortown/entities/entities/ttt_game_text.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/terrortown/entities/entities/ttt_game_text.lua b/gamemodes/terrortown/entities/entities/ttt_game_text.lua index 3bf3be1863..69585979bc 100644 --- a/gamemodes/terrortown/entities/entities/ttt_game_text.lua +++ b/gamemodes/terrortown/entities/entities/ttt_game_text.lua @@ -65,7 +65,7 @@ function ENT:AcceptInput(name, activator) RECEIVE_INNOCENT = GetRoleChatFilter(TEAM_INNOCENT) } - recv = (self.teamReceiver) ? GetTeamChatFilter(self.teamReceiver) : receiver_tbl[self.Receiver] + recv = (self.teamReceiver) and GetTeamChatFilter(self.teamReceiver) or receiver_tbl[self.Receiver] CustomMsg(recv, self.Message, self.Color) recv = nil