Revert "Fix: Untoggle removed actions" (#39776)
Revert "Fix: Untoggle removed actions (#39526)"
This reverts commit e90fac14eb.
This commit is contained in:
@@ -832,8 +832,7 @@ public abstract class SharedActionsSystem : EntitySystem
|
||||
performer.Comp.Actions.Remove(ent.Owner);
|
||||
Dirty(performer, performer.Comp);
|
||||
ent.Comp.AttachedEntity = null;
|
||||
ent.Comp.Toggled = false;
|
||||
DirtyFields(ent, ent.Comp, null, nameof(ActionComponent.AttachedEntity), nameof(ActionComponent.Toggled));
|
||||
DirtyField(ent, ent.Comp, nameof(ActionComponent.AttachedEntity));
|
||||
ActionRemoved((performer, performer.Comp), ent);
|
||||
|
||||
if (ent.Comp.Temporary)
|
||||
|
||||
Reference in New Issue
Block a user