mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-26 08:18: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
|
# Port is actually one higher than specified
|
||||||
# i.e. specifying port 7777 will have the server
|
# i.e. specifying port 7777 will have the server
|
||||||
# use port 7778
|
# use port 7778
|
||||||
if [ "$name" == "Port" ]; then
|
if [[ "$name" == "Port" && ( -z "$arkNoPortDecrement" || "$arkNoPortDecrement" == "false" ) ]]; then
|
||||||
(( val = val - 1 ))
|
(( val = val - 1 ))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user