Allow .git in map dirs
This commit is contained in:
parent
63835a51fa
commit
b82af22a05
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue