Rollerbed / foldable strap fixes. (#16106)
This commit is contained in:
@@ -23,11 +23,11 @@ public sealed class RotationVisualizerSystem : VisualizerSystem<RotationVisualsC
|
||||
{
|
||||
base.OnAppearanceChange(uid, component, ref args);
|
||||
|
||||
if (!AppearanceSystem.TryGetData<RotationState>(uid, RotationVisuals.RotationState, out var state, args.Component) ||
|
||||
args.Sprite == null)
|
||||
{
|
||||
if (args.Sprite == null)
|
||||
return;
|
||||
}
|
||||
|
||||
// If not defined, defaults to standing.
|
||||
AppearanceSystem.TryGetData<RotationState>(uid, RotationVisuals.RotationState, out var state, args.Component);
|
||||
|
||||
switch (state)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user