From 61efb80bc473e88ecac94b0137c1aa09e83a1e46 Mon Sep 17 00:00:00 2001 From: Rikard Blixt Date: Tue, 10 Dec 2024 13:13:21 +0100 Subject: [PATCH] extradata interface --- .../match2/wikis/underlords/match_group_input_custom.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/match2/wikis/underlords/match_group_input_custom.lua b/components/match2/wikis/underlords/match_group_input_custom.lua index 626532b947..b0cd33ef55 100644 --- a/components/match2/wikis/underlords/match_group_input_custom.lua +++ b/components/match2/wikis/underlords/match_group_input_custom.lua @@ -70,9 +70,12 @@ end -- map related functions -- +---@param match table ---@param map table +---@param opponents table[] ---@return table -function MapFunctions.getExtraData(map) +function MapFunctions.getExtraData(match, map, opponents) + return { dateexact = map.dateexact, comment = map.comment,