Remove server-side RefreshInHands, refresh them on component state update
This commit is contained in:
@@ -101,6 +101,7 @@ namespace Content.Client.GameObjects
|
||||
ActiveIndex = cast.ActiveIndex;
|
||||
|
||||
_gui?.UpdateHandIcons();
|
||||
RefreshInHands();
|
||||
}
|
||||
|
||||
private void _setHand(string hand, IEntity entity)
|
||||
@@ -190,9 +191,6 @@ namespace Content.Client.GameObjects
|
||||
case PlayerDetachedMsg _:
|
||||
_gui.Parent?.RemoveChild(_gui);
|
||||
break;
|
||||
case RefreshInHandsMsg _:
|
||||
RefreshInHands();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user