mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-06 20:31:38 +00:00
fix awkward/nonstandard ConditionalWML spotted by silene - much more exists
This commit is contained in:
parent
344afa14a3
commit
b68c554023
@ -261,26 +261,18 @@ The places she can move to are highlighted." +
|
||||
[allow_undo][/allow_undo]
|
||||
[filter]
|
||||
side=1
|
||||
[filter_location]
|
||||
[not]
|
||||
find_in=target_hex
|
||||
[/not]
|
||||
[/filter_location]
|
||||
[/filter]
|
||||
|
||||
[if]
|
||||
[variable]
|
||||
name=target_hex.is_set
|
||||
equals=yes
|
||||
boolean_equals=yes
|
||||
[/variable]
|
||||
[then]
|
||||
[if]
|
||||
[variable]
|
||||
name=x1
|
||||
equals=$target_hex.x
|
||||
[/variable]
|
||||
[variable]
|
||||
name=y1
|
||||
equals=$target_hex.y
|
||||
[/variable]
|
||||
[then]
|
||||
[/then]
|
||||
[else]
|
||||
[redraw][/redraw]
|
||||
[message]
|
||||
speaker=narrator
|
||||
@ -291,8 +283,6 @@ You moved to the wrong place! After this message, you can press 'u' to undo, the
|
||||
*Left click or press spacebar to continue..."
|
||||
#wmllint: display off
|
||||
[/message]
|
||||
[/else]
|
||||
[/if]
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
|
Loading…
x
Reference in New Issue
Block a user