Added vconfig conversion to wesnoth.fire.
(Compatibility fix for bug #16475.)
This commit is contained in:
parent
5bc96c8f8b
commit
90b9c39a69
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue