]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Disposal unit recharging state fix (#28059)
authorDexler <69513582+DexlerXD@users.noreply.github.com>
Wed, 15 May 2024 20:55:01 +0000 (23:55 +0300)
committerGitHub <noreply@github.com>
Wed, 15 May 2024 20:55:01 +0000 (16:55 -0400)
Content.Client/Disposal/Systems/DisposalUnitSystem.cs

index b9e4a3866045e3f4755f3ab7149f808ec16d29cc..2fe56fcce9904f810b22a04aa0bd951955e269a0 100644 (file)
@@ -153,7 +153,7 @@ public sealed class DisposalUnitSystem : SharedDisposalUnitSystem
             }
         }
         else if (state == VisualState.OverlayCharging)
-            sprite.LayerSetState(DisposalUnitVisualLayers.OverlayFlush, new RSI.StateId("disposal-charging"));
+            sprite.LayerSetState(DisposalUnitVisualLayers.OverlayFlush, chargingState);
         else
             _animationSystem.Stop(uid, AnimationKey);