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
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')

View File

@ -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