WoF: fix macro argument in translatable string
This commit is contained in:
parent
5cb60d7f2f
commit
978cf98c18
2 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
|||
### Add-ons client
|
||||
### Add-ons server
|
||||
### Campaigns
|
||||
* Winds of Fate
|
||||
* Fix macro argument in translatable string
|
||||
### Editor
|
||||
### Multiplayer
|
||||
### Lua API
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue