Content update for NetEntities (#18935)
This commit is contained in:
@@ -169,10 +169,12 @@ public sealed class ClientClothingSystem : ClothingSystem
|
||||
|
||||
private void OnVisualsChanged(EntityUid uid, InventoryComponent component, VisualsChangedEvent args)
|
||||
{
|
||||
if (!TryComp(args.Item, out ClothingComponent? clothing) || clothing.InSlot == null)
|
||||
var item = GetEntity(args.Item);
|
||||
|
||||
if (!TryComp(item, out ClothingComponent? clothing) || clothing.InSlot == null)
|
||||
return;
|
||||
|
||||
RenderEquipment(uid, args.Item, clothing.InSlot, component, null, clothing);
|
||||
RenderEquipment(uid, item, clothing.InSlot, component, null, clothing);
|
||||
}
|
||||
|
||||
private void OnDidUnequip(EntityUid uid, SpriteComponent component, DidUnequipEvent args)
|
||||
|
||||
Reference in New Issue
Block a user