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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

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);