mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 02:48:27 +00:00
Fix arkNoPortDecrement when ark_Port not in instance config
This commit is contained in:
parent
f69ba15495
commit
fb1806c331
@ -1136,7 +1136,7 @@ doRun() {
|
||||
# Port is actually one higher than specified
|
||||
# i.e. specifying port 7777 will have the server
|
||||
# use port 7778
|
||||
if [ "$name" == "Port" ]; then
|
||||
if [[ "$name" == "Port" && ( -z "$arkNoPortDecrement" || "$arkNoPortDecrement" == "false" ) ]]; then
|
||||
(( val = val - 1 ))
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user