Fix two bugs (#12144)
This commit is contained in:
@@ -285,6 +285,8 @@ namespace Content.Client.Hands.Systems
|
||||
if (!Resolve(uid, ref handComp, ref sprite, false))
|
||||
return;
|
||||
|
||||
// visual update might involve changes to the entity's effective sprite -> need to update hands GUI.
|
||||
if (uid == _playerManager.LocalPlayer?.ControlledEntity)
|
||||
OnPlayerItemAdded?.Invoke(hand.Name, held);
|
||||
|
||||
if (!handComp.ShowInHands)
|
||||
|
||||
@@ -58,6 +58,7 @@
|
||||
- type: ItemSlots
|
||||
slots:
|
||||
charger_slot:
|
||||
ejectOnInteract: true
|
||||
whitelist:
|
||||
components:
|
||||
- HitscanBatteryAmmoProvider
|
||||
|
||||
Reference in New Issue
Block a user