Fix error in AI control core macros
This commit is contained in:
parent
17b1127175
commit
c2c540fa15
1 changed files with 8 additions and 2 deletions
|
@ -21,7 +21,10 @@
|
|||
id="ai_controller_unit_control_{UNIT_ID}"
|
||||
description= _ "Ask $ai_controller_unit.name to move here"
|
||||
[show_if]
|
||||
side={CONTROLLER_SIDE}
|
||||
[variable]
|
||||
name=side_number
|
||||
numerical_equals={CONTROLLER_SIDE}
|
||||
[/variable]
|
||||
[have_unit]
|
||||
id={UNIT_ID}
|
||||
[/have_unit]
|
||||
|
@ -71,7 +74,10 @@
|
|||
id=ai_controller_leader_control_{CONTROLLED_SIDE}
|
||||
description= _ "Ask $ally_leader.name (leader of side $ally_leader.side) to move here"
|
||||
[show_if]
|
||||
side={CONTROLLER_SIDE}
|
||||
[variable]
|
||||
name=side_number
|
||||
numerical_equals={CONTROLLER_SIDE}
|
||||
[/variable]
|
||||
[have_unit]
|
||||
side={CONTROLLED_SIDE}
|
||||
canrecruit=yes
|
||||
|
|
Loading…
Add table
Reference in a new issue