Fix error in AI control core macros

This commit is contained in:
Celtic Minstrel 2018-03-30 23:42:01 -04:00
parent 17b1127175
commit c2c540fa15

View file

@ -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