diff --git a/mods/ctf_map/schem_map.lua b/mods/ctf_map/schem_map.lua index bcc0c46..9faadd2 100644 --- a/mods/ctf_map/schem_map.lua +++ b/mods/ctf_map/schem_map.lua @@ -58,7 +58,8 @@ local function search_for_maps() if extension == "mts" then files_hash[dir .. "/" .. filename] = true else - if extension ~= "conf" and extension ~= "md" then + if extension ~= "conf" and extension ~= "md" + and files[i] ~= ".git" then error("Map extension is not '.mts': " .. files[i]) end end