Merge branch 'master' of https://github.com/wesnoth/wesnoth
This commit is contained in:
commit
4613275ec6
1 changed files with 6 additions and 0 deletions
|
@ -1401,6 +1401,12 @@ function wml_actions.event(cfg)
|
|||
end
|
||||
end
|
||||
|
||||
function wml_actions.remove_event(cfg)
|
||||
local id = cfg.id or helper.wml_error("[remove_event] missing required id= key")
|
||||
|
||||
wesnoth.remove_event_handler(id)
|
||||
end
|
||||
|
||||
function wml_actions.inspect(cfg)
|
||||
wesnoth.gamestate_inspector(cfg)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue