diff --git a/ReplicateGravity/scripting/ReplicateGravity.sp b/ReplicateGravity/scripting/ReplicateGravity.sp index 32c27239..fe32b46d 100644 --- a/ReplicateGravity/scripting/ReplicateGravity.sp +++ b/ReplicateGravity/scripting/ReplicateGravity.sp @@ -46,6 +46,9 @@ public void OnGameFrame() } float flClientGravity = GetEntityGravity(client); + if (flClientGravity == 0.0) + flClientGravity = 1.0; + float flClientGravityReplicate = flClientGravity * flServerGravity; if (flClientGravityReplicate != g_flClientGravityReplicate[client])