small changes

This commit is contained in:
BotoX
2019-09-21 19:59:37 +02:00
parent 27631bb256
commit d58431daf2
3 changed files with 17 additions and 8 deletions
+1
View File
@@ -186,6 +186,7 @@ public Action OnJoinTeamCommand(int client, const char[] command, int argc)
if(g_bZombieSpawned && NewTeam == CurrentTeam)
return Plugin_Handled;
ForcePlayerSuicide(client);
ChangeClientTeam(client, CS_TEAM_NONE);
ChangeClientTeam(client, NewTeam);
return Plugin_Handled;