From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Tue, 17 Jun 2025 05:18:13 +0000 (+0200) Subject: Fix SharedActionSystem spamming errors (#38358) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=d25046461e336688e554920e353c04aaa5e8c56b;p=space-station-14.git Fix SharedActionSystem spamming errors (#38358) --- diff --git a/Content.Shared/Actions/SharedActionsSystem.cs b/Content.Shared/Actions/SharedActionsSystem.cs index 583bd177dc..a676f570b0 100644 --- a/Content.Shared/Actions/SharedActionsSystem.cs +++ b/Content.Shared/Actions/SharedActionsSystem.cs @@ -108,7 +108,7 @@ public abstract class SharedActionsSystem : EntitySystem /// public Entity? GetAction(Entity? action, bool logError = true) { - if (action is not {} ent || TerminatingOrDeleted(ent)) + if (action is not {} ent || Deleted(ent)) return null; if (!_actionQuery.Resolve(ent, ref ent.Comp, logError))