ZSpawn: Fix slight bug?
This shouldve probably been here from the start, just fixing this cause its my oversight.
This commit is contained in:
parent
d4ae0358e5
commit
e4b208a27a
@ -122,6 +122,12 @@ ZSpawnOnClientDeath(client)
|
|||||||
*/
|
*/
|
||||||
ZSpawnOnClientClassPost(client)
|
ZSpawnOnClientClassPost(client)
|
||||||
{
|
{
|
||||||
|
// If client isn't on a team, then stop.
|
||||||
|
if (!ZRIsClientOnTeam(client))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// If zspawn is disabled, then stop.
|
// If zspawn is disabled, then stop.
|
||||||
new bool:zspawn = GetConVarBool(g_hCvarsList[CVAR_ZSPAWN]);
|
new bool:zspawn = GetConVarBool(g_hCvarsList[CVAR_ZSPAWN]);
|
||||||
if (!zspawn)
|
if (!zspawn)
|
||||||
|
Loading…
Reference in New Issue
Block a user