Spectate: Only alter spectate modes on CSS.
CSGO doesnt have any broken spectate modes.
This commit is contained in:
parent
c28af04bbd
commit
2fad81dc0e
@ -50,6 +50,8 @@ public void OnMapStart()
|
||||
}
|
||||
|
||||
public void OnClientSettingsChanged(int client)
|
||||
{
|
||||
if(GetEngineVersion() == Engine_CSS)
|
||||
{
|
||||
static char sSpecMode[8];
|
||||
GetClientInfo(client, "cl_spec_mode", sSpecMode, sizeof(sSpecMode));
|
||||
@ -64,6 +66,7 @@ public void OnClientSettingsChanged(int client)
|
||||
SetEntProp(client, Prop_Send, "m_iObserverMode", OBS_MODE_ROAMING);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public Action Command_Spectate(int client, int argc)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user