Skip to content

Commit

Permalink
Fix error in AI control core macros
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Apr 8, 2018
1 parent 325c685 commit 1f04c88
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions data/core/macros/ai_controller.cfg
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1f04c88

Please sign in to comment.