Revert "Add support for multi-layer in-hand and clothing sprites" (#6521)

This commit is contained in:
metalgearsloth
2022-02-07 14:59:22 +11:00
committed by GitHub
parent 470e4f8bdc
commit f9e32fb0c1
17 changed files with 262 additions and 529 deletions

View File

@@ -1,5 +1,4 @@
using System;
using Content.Shared.Item;
using Robust.Shared.Containers;
using Robust.Shared.GameObjects;
using Robust.Shared.GameStates;
@@ -41,7 +40,7 @@ namespace Content.Shared.Hands.Components
// update hands GUI with new entity.
if (Owner.TryGetContainer(out var containter))
EntitySystem.Get<SharedItemSystem>().VisualsChanged(Owner);
EntitySystem.Get<SharedHandsSystem>().UpdateHandVisuals(containter.Owner);
}
[Serializable, NetSerializable]