mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-02-14 23:14:45 +01:00
fix repeated scale visuals removal/ensuring (#39432)
This commit is contained in:
@@ -27,6 +27,7 @@ public abstract class SharedScaleVisualsSystem : EntitySystem
|
||||
|
||||
protected virtual void ResetScale(Entity<ScaleVisualsComponent> ent)
|
||||
{
|
||||
_appearance.RemoveData(ent.Owner, ScaleVisuals.Scale);
|
||||
var ev = new ScaleEntityEvent(ent.Owner, Vector2.One);
|
||||
RaiseLocalEvent(ent.Owner, ref ev);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user