Update freedoom, now uses sharing is caring

This commit is contained in:
2023-11-10 14:48:43 -08:00
parent cd04d14f49
commit e15e680a14
2 changed files with 15 additions and 6 deletions

View File

@ -84,7 +84,7 @@ case ${buttonCode} in
dialog --backtitle "Co-op" --clear --msgbox "No ip address or URL given." -1 -1 --stdout
exit 1
fi
flags=('-join' "${ipAddress}")
flags=("${doomPath}/SiC_v1_01.pk3" '-join' "${ipAddress}")
else
# Get ip address
yourIpAddress="$(curl -4s https://icanhazip.com)"
@ -101,11 +101,17 @@ case ${buttonCode} in
--rangebox "Select difficulty. 1 easiest, 5 hardest." -1 -1 1 5 3 --stdout)"
[[ $? -eq 1 ]] && exit 0
flags=(
"${doomPath}/SiC_v1_01.pk3"
'-host' "${players}"
'-skill' "${skillLevel}"
'+set' 'sv_cheats' '1'
'+set' 'sv_weaponsstay' '1'
'+set' 'sv_respawnprotect' '1'
'+set' 'sv_itemrespawn' '1'
'+set' 'sv_respawnsuper' '1'
'+set' 'sv_SiC_AlwaysWeaponShare' '1'
'+set' 'sv_SiC_ShareKeys' '1'
'+set' 'alwaysapplydmflags' ''1
'-extratic' '-dup' '3'
)
fi