This commit is contained in:
2023-11-20 21:10:27 -06:00
parent b30c0187d0
commit 920b7da772

View File

@@ -136,9 +136,11 @@ update_mods_for_server() {
# check validity of syntax # check validity of syntax
if [ -z "$mod" ] ; then if [ -z "$mod" ] ; then
echo hi
die "mod for $map_name appears to be empty - syntax error" die "mod for $map_name appears to be empty - syntax error"
fi fi
if ! isnum "$mod" ; then if ! isnum "$mod" ; then
echo no
die "mod $mod for $map_name does not appear to be a number" die "mod $mod for $map_name does not appear to be a number"
fi fi