From 8871078b330efcd8c9ee621ab50208573dd8abbc Mon Sep 17 00:00:00 2001 From: Robert V Date: Sun, 19 Mar 2023 17:46:37 -0700 Subject: [PATCH] Remove early return from SetFolded (#14697) --- Content.Shared/Foldable/SharedFoldableSystem.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Content.Shared/Foldable/SharedFoldableSystem.cs b/Content.Shared/Foldable/SharedFoldableSystem.cs index 52cca6ee7a..dce19d6e82 100644 --- a/Content.Shared/Foldable/SharedFoldableSystem.cs +++ b/Content.Shared/Foldable/SharedFoldableSystem.cs @@ -45,9 +45,6 @@ public abstract class SharedFoldableSystem : EntitySystem /// public virtual void SetFolded(EntityUid uid, FoldableComponent component, bool folded) { - if (component.IsFolded == folded) - return; - component.IsFolded = folded; Dirty(component); Appearance.SetData(uid, FoldedVisuals.State, folded); -- 2.52.0