ZSpawn: Exclude SourceTV client from auto zspawn.

This commit is contained in:
zaCade committed 2019-03-25 00:54:28 +01:00
1 parent 35d7190ba2
commit b824095b82
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -155,7 +155,7 @@ public Action:EventPlayerTeam(Handle:event, const String:name[], bool:dontBroadc
ImmunityOnClientTeam(index);
// Fire post joinclass command. (Bots dont joinclass, so we fire it from here instead.)
if (IsFakeClient(index))
if (IsFakeClient(index) && !IsClientSourceTV(index))
CreateTimer(0.1, CommandPlayerClassPost, index);
return Plugin_Handled;