WML: {REMOVE_LABEL} now takes an optional EXTRA_WML argument.
This commit is contained in:
parent
8a4fd24b2b
commit
801e1c6234
2 changed files with 4 additions and 5 deletions
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue