From ee0b7451b63698468e8a8ddc3e164ce10e7daa0d Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Tue, 8 Nov 2022 13:06:51 +1300 Subject: [PATCH] Fix action bar duplication (#12456) --- Content.Client/Actions/ActionsSystem.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Content.Client/Actions/ActionsSystem.cs b/Content.Client/Actions/ActionsSystem.cs index d68e9326d4..4074e05cf6 100644 --- a/Content.Client/Actions/ActionsSystem.cs +++ b/Content.Client/Actions/ActionsSystem.cs @@ -87,6 +87,9 @@ namespace Content.Client.Actions added.Add(action); } + if (_playerManager.LocalPlayer?.ControlledEntity != uid) + return; + foreach (var action in removed) { ActionRemoved?.Invoke(action);