Remove early return from SetFolded (#14697)

This commit is contained in:
Robert V
2023-03-19 17:46:37 -07:00
committed by GitHub
parent 854f88d69c
commit 8871078b33

View File

@@ -45,9 +45,6 @@ public abstract class SharedFoldableSystem : EntitySystem
/// </summary>
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);