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-07-01 23:30:53 -04:00
committed by GitHub
parent 2f1bc7ab93
commit b565258f12
2 changed files with 6 additions and 2 deletions

View File

@@ -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)
{