Permalink
Browse files

Reset SetListenOverride on Round End to default game value

Close #374
  • Loading branch information...
Bara committed Oct 18, 2018
1 parent d143d95 commit 140706f6fd60a903b0f68d67ece4b0d4d49a3f88
Showing with 11 additions and 0 deletions.
  1. +11 −0 addons/sourcemod/scripting/ttt/ttt_talk_override.sp
@@ -173,6 +173,17 @@ public void Event_PlayerTeam(Event event, const char[] name, bool dontBroadcast)
}
}
public void TTT_OnRoundEnd(int winner, Handle array)
{
LoopValidClients(i)
{
LoopValidClients(j)
{
SetListenOverride(i, j, Listen_Default);
}
}
}
public void TTT_OnClientGetRole(int client, int role)
{
SetListen(client);

0 comments on commit 140706f

Please sign in to comment.