Add color= to [floating_text]
This commit is contained in:
parent
25c9b67a5d
commit
1e2d6b6586
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ Version 1.13.6+dev:
|
|||
* Updated translations: British English, Portuguese (Brazil)
|
||||
* WML Engine:
|
||||
* Removed LOW_MEM option when building.
|
||||
* Add color= attribute to [floating_text]
|
||||
|
||||
Version 1.13.6:
|
||||
* AI:
|
||||
|
|
|
@ -601,7 +601,7 @@ function wml_actions.floating_text(cfg)
|
|||
local text = cfg.text or helper.wml_error("[floating_text] missing required text= attribute")
|
||||
|
||||
for i, loc in ipairs(locs) do
|
||||
wesnoth.float_label(loc[1], loc[2], text)
|
||||
wesnoth.float_label(loc[1], loc[2], text, cfg.color)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue