From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Wed, 20 Aug 2025 16:33:14 +0000 (+0200) Subject: Revert "Fix: Untoggle removed actions" (#39776) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=d1916fa4d3c6835df5004791d79a29867c42b486;p=space-station-14.git Revert "Fix: Untoggle removed actions" (#39776) Revert "Fix: Untoggle removed actions (#39526)" This reverts commit e90fac14eb9d8ecd7267ea7d7381ad0f3abc8886. --- diff --git a/Content.Shared/Actions/SharedActionsSystem.cs b/Content.Shared/Actions/SharedActionsSystem.cs index c0a32e6038..c4581cfbff 100644 --- a/Content.Shared/Actions/SharedActionsSystem.cs +++ b/Content.Shared/Actions/SharedActionsSystem.cs @@ -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)