Skip to content

Commit

Permalink
Fix low grav fake client error
Browse files Browse the repository at this point in the history
  • Loading branch information
TotallyMehis committed Aug 27, 2019
1 parent 1f185ef commit cabc66a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion addons/sourcemod/scripting/influx_style_lowgrav.sp
Expand Up @@ -87,7 +87,10 @@ public void OnConfigsExecuted()

public void OnClientPutInServer( int client )
{
Inf_SendConVarValueFloat( client, g_ConVar_Gravity, g_flDefaultGravity );
if ( !IsFakeClient( client ) )
{
Inf_SendConVarValueFloat( client, g_ConVar_Gravity, g_flDefaultGravity );
}
}

public void E_ConVarChanged_GravMult( ConVar convar, const char[] oldValue, const char[] newValue )
Expand Down

0 comments on commit cabc66a

Please sign in to comment.