update.sh: Move map screenshots to ctf_map/textures/ (#411)
This commit is contained in:
parent
4d6b3512ab
commit
16ba9ef044
|
@ -241,7 +241,7 @@ local function load_maps()
|
|||
if extension == "mts" then
|
||||
files_hash[dir .. "/" .. filename] = true
|
||||
else
|
||||
if extension ~= "conf" and extension ~= "md"
|
||||
if extension ~= "conf" and extension ~= "md" and extension ~= "png"
|
||||
and files[i] ~= ".git" then
|
||||
error("Map extension is not '.mts': " .. files[i])
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue