AI context menu fix (#37224)
* AI context menu fix * Revert "AI context menu fix" This reverts commit 86a0476fcb0aa952c0dcadb1bc4246532abd62b7. * Better implementation * Retry
This commit is contained in:
@@ -157,6 +157,9 @@ public abstract partial class SharedStationAiSystem
|
||||
|
||||
private void OnTargetVerbs(Entity<StationAiWhitelistComponent> ent, ref GetVerbsEvent<AlternativeVerb> args)
|
||||
{
|
||||
if (!_uiSystem.HasUi(args.Target, AiUi.Key))
|
||||
return;
|
||||
|
||||
if (!args.CanComplexInteract
|
||||
|| !HasComp<StationAiHeldComponent>(args.User)
|
||||
|| !args.CanInteract)
|
||||
|
||||
Reference in New Issue
Block a user