update.sh: Move map screenshots to ctf_map/textures/ (#411)
This commit is contained in:
parent
4d6b3512ab
commit
16ba9ef044
2 changed files with 2 additions and 1 deletions
|
@ -241,7 +241,7 @@ local function load_maps()
|
||||||
if extension == "mts" then
|
if extension == "mts" then
|
||||||
files_hash[dir .. "/" .. filename] = true
|
files_hash[dir .. "/" .. filename] = true
|
||||||
else
|
else
|
||||||
if extension ~= "conf" and extension ~= "md"
|
if extension ~= "conf" and extension ~= "md" and extension ~= "png"
|
||||||
and files[i] ~= ".git" then
|
and files[i] ~= ".git" then
|
||||||
error("Map extension is not '.mts': " .. files[i])
|
error("Map extension is not '.mts': " .. files[i])
|
||||||
end
|
end
|
||||||
|
|
|
@ -5,5 +5,6 @@ cd ../crafting &&
|
||||||
git pull origin master &&
|
git pull origin master &&
|
||||||
cd ../ctf/ctf_map/maps &&
|
cd ../ctf/ctf_map/maps &&
|
||||||
git pull origin master &&
|
git pull origin master &&
|
||||||
|
cp ./*.png ../textures/ &&
|
||||||
cd ../../../.. &&
|
cd ../../../.. &&
|
||||||
./build.sh ../games/capturetheflag
|
./build.sh ../games/capturetheflag
|
||||||
|
|
Loading…
Reference in a new issue