WML: {REMOVE_LABEL} now takes an optional EXTRA_WML argument.

This commit is contained in:
josteph 2018-11-03 18:16:43 +00:00
parent 8a4fd24b2b
commit 801e1c6234
2 changed files with 4 additions and 5 deletions

View file

@ -502,11 +502,7 @@
[remove_item]
x,y=6,32
[/remove_item]
[label]
x,y=6,32
text="" # wmllint: ignore
team_name=elves
[/label]
{REMOVE_LABEL 6 32 EXTRA_WML=team_name=elves}
[scroll_to]
x,y=6,32
[/scroll_to]

View file

@ -87,6 +87,8 @@
#enddef
#define REMOVE_LABEL X Y
#arg EXTRA_WML
#endarg
# Removes a label from a given tile.
#
# For example, remove it from 4,7
@ -95,6 +97,7 @@
x={X}
y={Y}
text="" # wmllint: ignore
{EXTRA_WML}
[/label]
#enddef