[harm_unit]: added animate keys to wml_actions.unstore_unit tables

This commit is contained in:
Elvish_Hunter 2013-06-14 23:28:16 +02:00
parent 664c7e6859
commit 1861b9656a

View file

@ -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