Fix host issue with flags
This commit is contained in:
parent
c072ae6c5b
commit
a5129adbe0
@ -103,10 +103,10 @@ case ${buttonCode} in
|
|||||||
flags=(
|
flags=(
|
||||||
'-host' "${players}"
|
'-host' "${players}"
|
||||||
'-skill' "${skillLevel}"
|
'-skill' "${skillLevel}"
|
||||||
'+set' 'sv_cheats 1'
|
'+set' 'sv_cheats' '1'
|
||||||
'+set' 'sv_weaponsstay 1'
|
'+set' 'sv_weaponsstay' '1'
|
||||||
'+set' 'sv_respawnprotect 1'
|
'+set' 'sv_respawnprotect' '1'
|
||||||
'-extratic' '-dup 3'
|
'-extratic' '-dup' '3'
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
exec stdbuf -oL ${gameOption} "${flags[@]}" | stdbuf -oL grep "${grepStrings[@]}" | stdbuf -oL sed "${sedStrings[@]}" | spd-say -e
|
exec stdbuf -oL ${gameOption} "${flags[@]}" | stdbuf -oL grep "${grepStrings[@]}" | stdbuf -oL sed "${sedStrings[@]}" | spd-say -e
|
||||||
|
Loading…
Reference in New Issue
Block a user