Fixed buckled players thrashing while speaking in beds (#29653)

* Fix characters thrashing when talking while lying down

* Remove weird design choice
This commit is contained in:
Tayrtahn
2024-08-09 17:19:00 +01:00
committed by deltanedas
parent f9d600f84d
commit 2b7305875f
2 changed files with 6 additions and 2 deletions
@@ -23,8 +23,8 @@ public sealed class RotationVisualizerSystem : SharedRotationVisualsSystem
if (args.Sprite == null)
return;
// If not defined, defaults to standing.
_appearance.TryGetData<RotationState>(uid, RotationVisuals.RotationState, out var state, args.Component);
if (!_appearance.TryGetData<RotationState>(uid, RotationVisuals.RotationState, out var state, args.Component))
return;
switch (state)
{