Skip to content
Permalink
Browse files

Fix low grav fake client error

  • Loading branch information...
TotallyMehis committed Aug 27, 2019
1 parent 1f185ef commit cabc66a2422e5be380d720a5054d6ea07ebcac08
Showing with 4 additions and 1 deletion.
  1. +4 −1 addons/sourcemod/scripting/influx_style_lowgrav.sp
@@ -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 )

0 comments on commit cabc66a

Please sign in to comment.
You can’t perform that action at this time.