WoF: fix macro argument in translatable string

This commit is contained in:
Jonathan-Kelly 2023-12-02 15:13:09 -05:00 committed by Steve Cotton
parent 5cb60d7f2f
commit 978cf98c18
2 changed files with 5 additions and 1 deletions

View file

@ -2,6 +2,8 @@
### Add-ons client ### Add-ons client
### Add-ons server ### Add-ons server
### Campaigns ### Campaigns
* Winds of Fate
* Fix macro argument in translatable string
### Editor ### Editor
### Multiplayer ### Multiplayer
### Lua API ### Lua API

View file

@ -159,10 +159,12 @@
[/filter] [/filter]
experience="$($unit.experience + {AMOUNT})" experience="$($unit.experience + {AMOUNT})"
[/modify_unit] [/modify_unit]
{VARIABLE amount {AMOUNT}}
[floating_text] [floating_text]
x,y=$x1,$y1 x,y=$x1,$y1
text="<span color='cyan'>" + _ "+{AMOUNT} experience" + "</span>" text="<span color='cyan'>" + _ "+$amount experience" + "</span>"
[/floating_text] [/floating_text]
{CLEAR_VARIABLE amount}
[/event] [/event]
#enddef #enddef