Fix action bar duplication (#12456)
This commit is contained in:
@@ -87,6 +87,9 @@ namespace Content.Client.Actions
|
|||||||
added.Add(action);
|
added.Add(action);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_playerManager.LocalPlayer?.ControlledEntity != uid)
|
||||||
|
return;
|
||||||
|
|
||||||
foreach (var action in removed)
|
foreach (var action in removed)
|
||||||
{
|
{
|
||||||
ActionRemoved?.Invoke(action);
|
ActionRemoved?.Invoke(action);
|
||||||
|
|||||||
Reference in New Issue
Block a user