LoW: Make the debug code wmllint liked.

This commit is contained in:
Fabian Müller 2014-10-24 18:51:58 +02:00
parent 15cb2b44ee
commit e12af3a14f

View file

@ -4,7 +4,7 @@
[set_menu_item]
id=debug_kill
description= "Kill Unit"
description= "Kill Unit" #wmllint: ignore
[filter_location]
[filter]
[/filter]
@ -21,7 +21,7 @@
[set_menu_item]
id=debug_next
description="Next Scenario"
description="Next Scenario" #wmllint: ignore
[command]
[endlevel]
@ -32,22 +32,19 @@
[set_menu_item]
id=debug_move
description= "Move Unit"
description="Move Unit" #wmllint: ignore
needs_select=yes
#[filter_location]
# [filter]
# [/filter]
#[/filter_location]
[command]
[event]
name=select
first_time_only=no
{VARIABLE selected_move_unit_x $x1}
{VARIABLE selected_move_unit_y $y1}
[/event]
{MOVE_UNIT x,y=$selected_move_unit_x,$selected_move_unit_y $x1 $y1}
[/command]
[/set_menu_item]
[/event]
[event]
name=select
first_time_only=no
{VARIABLE selected_move_unit_x $x1}
{VARIABLE selected_move_unit_y $y1}
[/event]