Fix rotation visuals desync & appearance state spam (#23016)

* Fix rotation visuals desync

* :bucklemeup:

* A
This commit is contained in:
Leon Friedrich
2023-12-26 18:32:25 -05:00
committed by GitHub
parent 476ea14e8a
commit cf98300ba2
13 changed files with 106 additions and 69 deletions

View File

@@ -74,6 +74,8 @@ public abstract partial class SharedVehicleSystem : EntitySystem
if (!vehicle.AutoAnimate)
continue;
// Why is this updating appearance data every tick, instead of when it needs to be updated???
if (_mover.GetVelocityInput(mover).Sprinting == Vector2.Zero)
{
UpdateAutoAnimate(uid, false);