]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix horizontal space men in replays (#39338)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Sat, 2 Aug 2025 20:20:17 +0000 (22:20 +0200)
committerGitHub <noreply@github.com>
Sat, 2 Aug 2025 20:20:17 +0000 (22:20 +0200)
* Fix horizontal space men in replays

Visualizer should not bail if data unavailable.

* Update Content.Client/Rotation/RotationVisualizerSystem.cs

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Content.Client/Rotation/RotationVisualizerSystem.cs

index 8dbcf9732014688349c83384d9c076941f4caaf0..b5be4d0b179dab6adb6694fb7f125500cea344f3 100644 (file)
@@ -24,7 +24,7 @@ public sealed class RotationVisualizerSystem : SharedRotationVisualsSystem
             return;
 
         if (!_appearance.TryGetData<RotationState>(uid, RotationVisuals.RotationState, out var state, args.Component))
-            return;
+            state = RotationState.Vertical;
 
         switch (state)
         {