From 404bbe696733c09c9f6fa9a24e8ee3fd89b40f70 Mon Sep 17 00:00:00 2001 From: Josh DM Date: Sat, 12 Aug 2023 16:00:42 -0400 Subject: [PATCH] only show for prepull actions --- ui/core/components/individual_sim_ui/apl_actions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/core/components/individual_sim_ui/apl_actions.ts b/ui/core/components/individual_sim_ui/apl_actions.ts index 99e068b307..22eb131bdc 100644 --- a/ui/core/components/individual_sim_ui/apl_actions.ts +++ b/ui/core/components/individual_sim_ui/apl_actions.ts @@ -420,6 +420,7 @@ const actionKindFactories: {[f in NonNullable]: ActionKindConfig< label: 'Activate Aura', submenu: ['Misc'], shortDescription: 'Activates an aura', + includeIf: (player: Player, isPrepull: boolean) => isPrepull, newValue: () => APLActionActivateAura.create(), fields: [ AplHelpers.actionIdFieldConfig('auraId', 'auras'),