From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Wed, 6 Aug 2025 18:54:50 +0000 (+0200) Subject: fix repeated scale visuals removal/ensuring (#39432) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=2e0b11ea51aec184c0f1db40108fe32e261e8e46;p=space-station-14.git fix repeated scale visuals removal/ensuring (#39432) --- diff --git a/Content.Shared/Sprite/SharedScaleVisualsSystem.cs b/Content.Shared/Sprite/SharedScaleVisualsSystem.cs index fd2a522cd0..408f5984b1 100644 --- a/Content.Shared/Sprite/SharedScaleVisualsSystem.cs +++ b/Content.Shared/Sprite/SharedScaleVisualsSystem.cs @@ -27,6 +27,7 @@ public abstract class SharedScaleVisualsSystem : EntitySystem protected virtual void ResetScale(Entity ent) { + _appearance.RemoveData(ent.Owner, ScaleVisuals.Scale); var ev = new ScaleEntityEvent(ent.Owner, Vector2.One); RaiseLocalEvent(ent.Owner, ref ev); }