Beispiel #1
0
 private void OnEquipped(EntityUid uid, SharedSpriteComponent component, GotEquippedEvent args)
 {
     component.Visible = false;
 }
Beispiel #2
0
        // Although netsync is being set to false for items client can still update these
        // Realistically:
        // Container should already hide these
        // Client is the only thing that matters.

        private void OnUnequipped(EntityUid uid, SharedSpriteComponent component, GotUnequippedEvent args)
        {
            component.Visible = true;
        }