Fixed bug in zr_spawn.

This commit is contained in:
richard 2008-10-31 18:57:14 +01:00
parent d8dd91c0f5
commit 4335828d3d
1 changed files with 2 additions and 2 deletions

View File

@ -76,10 +76,10 @@ public Action:Command_Respawn(client, argc)
new team;
for (new x = 0; x < tcount; x++)
{
team = GetClientTeam(x);
team = GetClientTeam(targets[x]);
if (team == CS_TEAM_T || team == CS_TEAM_CT)
{
ZR_DebugPrintToConsole(x, "ZSpawn: Spawned player");
if (GetConVarBool(gCvars[CVAR_DEBUG])) ZR_DebugPrintToConsole(targets[x], "ZSpawn: Spawned player");
RespawnPlayer(targets[x]);
}
}