fix [transform_unit]
This commit is contained in:
parent
bd69cb2ed3
commit
2e5fb7cda7
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ function wml_actions.transform_unit(cfg)
|
|||
local status = helper.get_child( unit.__cfg, "status" )
|
||||
|
||||
unit.experience = unit.max_experience
|
||||
wml_actions.advance_unit(unit, false, false)
|
||||
wesnoth.advance_unit(unit, false, false)
|
||||
|
||||
unit.hitpoints = hitpoints
|
||||
unit.experience = experience
|
||||
|
|
Loading…
Add table
Reference in a new issue