Fix PAI BUI (#27357)
This commit is contained in:
@@ -56,10 +56,7 @@ public sealed partial class ActivatableUISystem : EntitySystem
|
||||
if (args.Handled || args.Key == null)
|
||||
return;
|
||||
|
||||
if (!TryComp(args.Performer, out ActorComponent? actor))
|
||||
return;
|
||||
|
||||
args.Handled = _uiSystem.TryToggleUi(uid, args.Key, actor.PlayerSession);
|
||||
args.Handled = _uiSystem.TryToggleUi(uid, args.Key, args.Performer);
|
||||
}
|
||||
|
||||
private void AddOpenUiVerb(EntityUid uid, ActivatableUIComponent component, GetVerbsEvent<ActivationVerb> args)
|
||||
|
||||
@@ -15,8 +15,10 @@
|
||||
interfaces:
|
||||
enum.InstrumentUiKey.Key:
|
||||
type: InstrumentBoundUserInterface
|
||||
requireInputValidation: false
|
||||
enum.StationMapUiKey.Key:
|
||||
type: UntrackedStationMapBoundUserInterface
|
||||
requireInputValidation: false
|
||||
- type: Sprite
|
||||
sprite: Objects/Fun/pai.rsi
|
||||
layers:
|
||||
|
||||
Reference in New Issue
Block a user