From: Robert V Date: Mon, 20 Mar 2023 00:46:37 +0000 (-0700) Subject: Remove early return from SetFolded (#14697) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=8871078b330efcd8c9ee621ab50208573dd8abbc;p=space-station-14.git Remove early return from SetFolded (#14697) --- 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);