fixup random_placement patch

This commit is contained in:
gfgtdf 2015-12-08 01:10:45 +01:00
parent a9f141c58e
commit f329b1e431
2 changed files with 2 additions and 2 deletions

View file

@ -240,7 +240,7 @@
[/filter_adjacent_location]
[/filter]
[command]
{VARIABLE random_ambusher_type_i ($($random_ambusher_type_i + 1) % $random_ambusher_type_table.length)}
{VARIABLE random_ambusher_type_i ("$(($random_ambusher_type_i + 1) % $random_ambusher_type_table.length)")}
[unit]
x,y=$ambush_location.x,$ambush_location.y
type=$random_ambusher_type_table[$random_ambusher_type_i].type

View file

@ -489,7 +489,7 @@
x,y=$random_placement_location.x,$random_placement_location.y
{UNIT_WML}
[/unit]
{VARIABLE unit_type_table_i $(($unit_type_table_i + 1) % $unit_type_table.length)}
{VARIABLE unit_type_table_i ("$(($unit_type_table_i + 1) % $unit_type_table.length)")}
[/command]
[/random_placement]