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 server
### Campaigns
* Winds of Fate
* Fix macro argument in translatable string
### Editor
### Multiplayer
### Lua API

View file

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