Updated map menus for custom mods.

This commit is contained in:
Storm Dragon 2024-12-26 19:31:39 -05:00
parent 6237b20097
commit a38eee08cb
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
# Choice of maps # Choice of maps
mapList=( mapList=(
"${gamePath}/OpMDK.wad" "${gamePath}/OpMDK.wad"
"${gamePath}/TobyDoomLevels.wad" "${gamePath}/Addons/MAPS/TobyDoomLevels.wad"
"${gamePath}/Toby-Demo-Level.wad" "${gamePath}/Addons/MAPS/Toby-Demo-Level.wad"
) )
declare -a mapMenu=('none' 'None') declare -a mapMenu=('none' 'None')

View File

@ -48,7 +48,7 @@ export DIALOGOPTS='--no-lines --visit-items'
# Check for updates # Check for updates
check_update() { check_update() {
local url="$(git ls-remote --get-url)" local url="$(git ls-remote --get-url)"
if [[ "$url" =~ ^ssh://|git@ ]] || [[ -z "$url" ]]; then if [[ "$url" =~ ^[[:alnum:]]+@ ]] || [[ -z "$url" ]]; then
return return
fi fi
git remote update > /dev/null 2>&1 git remote update > /dev/null 2>&1