Updated map menus for custom mods.
This commit is contained in:
parent
6237b20097
commit
a38eee08cb
@ -1,8 +1,8 @@
|
||||
# Choice of maps
|
||||
mapList=(
|
||||
"${gamePath}/OpMDK.wad"
|
||||
"${gamePath}/TobyDoomLevels.wad"
|
||||
"${gamePath}/Toby-Demo-Level.wad"
|
||||
"${gamePath}/Addons/MAPS/TobyDoomLevels.wad"
|
||||
"${gamePath}/Addons/MAPS/Toby-Demo-Level.wad"
|
||||
)
|
||||
|
||||
declare -a mapMenu=('none' 'None')
|
||||
|
@ -48,7 +48,7 @@ export DIALOGOPTS='--no-lines --visit-items'
|
||||
# Check for updates
|
||||
check_update() {
|
||||
local url="$(git ls-remote --get-url)"
|
||||
if [[ "$url" =~ ^ssh://|git@ ]] || [[ -z "$url" ]]; then
|
||||
if [[ "$url" =~ ^[[:alnum:]]+@ ]] || [[ -z "$url" ]]; then
|
||||
return
|
||||
fi
|
||||
git remote update > /dev/null 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user