Fix host issue with flags

This commit is contained in:
Michael Taboada 2023-11-10 12:58:58 -08:00
parent c072ae6c5b
commit a5129adbe0

View File

@ -103,10 +103,10 @@ case ${buttonCode} in
flags=(
'-host' "${players}"
'-skill' "${skillLevel}"
'+set' 'sv_cheats 1'
'+set' 'sv_weaponsstay 1'
'+set' 'sv_respawnprotect 1'
'-extratic' '-dup 3'
'+set' 'sv_cheats' '1'
'+set' 'sv_weaponsstay' '1'
'+set' 'sv_respawnprotect' '1'
'-extratic' '-dup' '3'
)
fi
exec stdbuf -oL ${gameOption} "${flags[@]}" | stdbuf -oL grep "${grepStrings[@]}" | stdbuf -oL sed "${sedStrings[@]}" | spd-say -e