Fix timescale being reset to styles default

This new line will fix the native Shavit_SetClientTimescale by not
resetting the timescale of the player to the style default after each
jump
This commit is contained in:
hermansimensen 2020-04-15 21:36:51 +02:00
parent 9a4cdef528
commit 35b608af88

View File

@ -1218,7 +1218,7 @@ void VelocityChanges(int data)
if(gA_Timers[client].fTimescale != -1.0)
{
SetEntPropFloat(client, Prop_Data, "m_flLaggedMovementValue", view_as<float>(gA_StyleSettings[gA_Timers[client].iStyle].fTimescale));
SetEntPropFloat(client, Prop_Data, "m_flLaggedMovementValue", view_as<float>(gA_Timers[client].fTimescale));
}
else