diff --git a/mods/ctf/ctf_map/schem_map.lua b/mods/ctf/ctf_map/schem_map.lua index 8997106..b3d2e68 100644 --- a/mods/ctf/ctf_map/schem_map.lua +++ b/mods/ctf/ctf_map/schem_map.lua @@ -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 diff --git a/update.sh b/update.sh index d3f91a5..921f54b 100755 --- a/update.sh +++ b/update.sh @@ -5,5 +5,6 @@ cd ../crafting && git pull origin master && cd ../ctf/ctf_map/maps && git pull origin master && +cp ./*.png ../textures/ && cd ../../../.. && ./build.sh ../games/capturetheflag