diff --git a/gamemodes/terrortown/entities/entities/ttt_game_text.lua b/gamemodes/terrortown/entities/entities/ttt_game_text.lua index 3bf3be186..69585979b 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