From f9aecda933c51bd8deea7dc25883bd290a0ff64b Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Thu, 1 May 2025 10:11:35 +1000 Subject: [PATCH] Fix action ent prediction (#37076) Buttons don't get created in the predicted methods only on state handler. --- Content.Client/Actions/ActionsSystem.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Content.Client/Actions/ActionsSystem.cs b/Content.Client/Actions/ActionsSystem.cs index 0302739816..31350a6a5d 100644 --- a/Content.Client/Actions/ActionsSystem.cs +++ b/Content.Client/Actions/ActionsSystem.cs @@ -202,6 +202,7 @@ namespace Content.Client.Actions return; OnActionAdded?.Invoke(actionId); + ActionsUpdated?.Invoke(); } protected override void ActionRemoved(EntityUid performer, EntityUid actionId, ActionsComponent comp, BaseActionComponent action) @@ -210,6 +211,7 @@ namespace Content.Client.Actions return; OnActionRemoved?.Invoke(actionId); + ActionsUpdated?.Invoke(); } public IEnumerable<(EntityUid Id, BaseActionComponent Comp)> GetClientActions() -- 2.51.2