Fix two bugs (#12144)
This commit is contained in:
@@ -285,7 +285,9 @@ namespace Content.Client.Hands.Systems
|
|||||||
if (!Resolve(uid, ref handComp, ref sprite, false))
|
if (!Resolve(uid, ref handComp, ref sprite, false))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
OnPlayerItemAdded?.Invoke(hand.Name, held);
|
// 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)
|
if (!handComp.ShowInHands)
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -58,6 +58,7 @@
|
|||||||
- type: ItemSlots
|
- type: ItemSlots
|
||||||
slots:
|
slots:
|
||||||
charger_slot:
|
charger_slot:
|
||||||
|
ejectOnInteract: true
|
||||||
whitelist:
|
whitelist:
|
||||||
components:
|
components:
|
||||||
- HitscanBatteryAmmoProvider
|
- HitscanBatteryAmmoProvider
|
||||||
|
|||||||
Reference in New Issue
Block a user