[harm_unit]: added animate keys to wml_actions.unstore_unit tables
This commit is contained in:
parent
664c7e6859
commit
1861b9656a
1 changed files with 2 additions and 0 deletions
|
@ -937,6 +937,7 @@ function wml_actions.harm_unit(cfg)
|
|||
wml_actions.unstore_unit { variable = "Lua_store_unit",
|
||||
find_vacant = false,
|
||||
advance = true,
|
||||
animate = toboolean( animate ),
|
||||
fire_event = fire_event }
|
||||
wesnoth.set_variable ( "Lua_store_unit", nil )
|
||||
end
|
||||
|
@ -947,6 +948,7 @@ function wml_actions.harm_unit(cfg)
|
|||
wml_actions.unstore_unit { variable = "Lua_store_unit",
|
||||
find_vacant = false,
|
||||
advance = true,
|
||||
animate = toboolean( animate ),
|
||||
fire_event = fire_event }
|
||||
wesnoth.set_variable ( "Lua_store_unit", nil )
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue