Fixed bug in zr_respawn

This commit is contained in:
richard 2008-10-30 19:33:54 +01:00
parent cf8bd3aead
commit dcea61a03c

View File

@ -76,7 +76,7 @@ public Action:Command_Respawn(client, argc)
new team; new team;
for (new x = 0; x < tcount; x++) for (new x = 0; x < tcount; x++)
{ {
team = GetClientTeam(client); team = GetClientTeam(x);
if (team == CS_TEAM_T || team == CS_TEAM_CT) if (team == CS_TEAM_T || team == CS_TEAM_CT)
{ {
ZR_DebugPrintToConsole(x, "ZSpawn: Spawned player"); ZR_DebugPrintToConsole(x, "ZSpawn: Spawned player");