private void OnActivate(EntityUid uid, AirlockComponent component, ActivateInWorldEvent args) { if (TryComp <WiresComponent>(uid, out var wiresComponent) && wiresComponent.IsPanelOpen && EntityManager.TryGetComponent(args.User, out ActorComponent? actor)) { _wiresSystem.OpenUserInterface(uid, actor.PlayerSession); args.Handled = true; } }