From: Dexler <69513582+DexlerXD@users.noreply.github.com> Date: Wed, 15 May 2024 20:55:01 +0000 (+0300) Subject: Disposal unit recharging state fix (#28059) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=9b5dd1fab209dcb9508d6c2c93eaa5ba74ed9be8;p=space-station-14.git Disposal unit recharging state fix (#28059) --- diff --git a/Content.Client/Disposal/Systems/DisposalUnitSystem.cs b/Content.Client/Disposal/Systems/DisposalUnitSystem.cs index b9e4a38660..2fe56fcce9 100644 --- a/Content.Client/Disposal/Systems/DisposalUnitSystem.cs +++ b/Content.Client/Disposal/Systems/DisposalUnitSystem.cs @@ -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);