SERVER: Fix Weapon_PlayViewModel Duration time inconsistencies

This commit is contained in:
cypress 2024-01-07 18:38:29 -05:00
parent dcff9b084e
commit 35bbd002ff

View file

@ -181,7 +181,7 @@ void (float animation_type, void(optional float t) end_function, float playback_
break; break;
} }
self.reload_delay2 = self.fire_delay2 = self.reload_delay = self.fire_delay = self.knife_delay = time + duration; self.reload_delay2 = self.fire_delay2 = self.reload_delay = self.fire_delay = self.knife_delay = time + (duration - 0.1);
UpdateVmodel(self.weaponmodel, GetWepSkin(self.weapon)); UpdateVmodel(self.weaponmodel, GetWepSkin(self.weapon));
self.weapon2model = GetWeapon2Model(self.weapon); self.weapon2model = GetWeapon2Model(self.weapon);