Revert "Display amount healed as an integer in [heal_unit]"
This reverts commit0294bd81b2
. Changing display is unnecessary when the healed amount itself is forced to be an integer (next commit). (cherry-picked from commitf2284e2e79
)
This commit is contained in:
parent
ef4d9f570d
commit
167ee61d34
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ function wesnoth.wml_actions.heal_unit(cfg)
|
|||
if cfg.animate then
|
||||
local animator = wesnoth.create_animator()
|
||||
if heal_amount > 0 then
|
||||
animator:add(u, 'healed', 'hit', {value = heal_amount, text = math.tointeger(heal_amount), color = {0, 255, 0}})
|
||||
animator:add(u, 'healed', 'hit', {value = heal_amount, text = heal_amount, color = {0, 255, 0}})
|
||||
end
|
||||
if #healers > 0 then
|
||||
animator:add(healers[1], 'healing', 'hit', {value = heal_amount})
|
||||
|
|
Loading…
Add table
Reference in a new issue