Merge pull request #893 from hermansimensen/master

Fix timescale being reset to styles default (fix #892)
This commit is contained in:
kidfearless 2020-04-18 10:28:15 -06:00 committed by GitHub
commit 17f563c54f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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