Added vconfig conversion to wesnoth.fire.

(Compatibility fix for bug #16475.)
This commit is contained in:
Guillaume Melquiond 2010-08-18 05:12:23 +00:00
parent 5bc96c8f8b
commit 90b9c39a69

View file

@ -31,5 +31,5 @@ function wesnoth.register_wml_action(name, handler)
end
function wesnoth.fire(name, cfg)
wesnoth.wml_actions[name](cfg)
wesnoth.wml_actions[name](wesnoth.tovconfig(cfg or {}))
end