[LuaDoc] Undo handlers do not have a return value

This commit is contained in:
Celtic Minstrel 2024-02-08 09:51:36 -05:00
parent 966e813358
commit 12d95bc082

View file

@ -98,5 +98,5 @@ function wesnoth.game_events.remove(id) end
function wesnoth.game_events.set_undoable(can_undo) end
---Add undo actions for the current event
---@param actions WML|fun(ctx):boolean The undo actions, either as ActionWML or a Lua function.
---@param actions WML|fun(ctx) The undo actions, either as ActionWML or a Lua function.
function wesnoth.game_events.add_undo_actions(actions) end