Take RCONPort from GameUserSettings.ini with default

This commit is contained in:
Ben Peddell 2015-12-09 03:33:43 +10:00
parent 43977a1521
commit 8aa42357c9

View File

@ -289,7 +289,7 @@ rconcmd() {
sendpkt($socket, 2, 2, $command);
my ($resid, $restype, $rcvbody) = recvpkt($socket);
print $rcvbody, "\n";
' "${ark_RCONPort}" "${ark_MultiHome:-127.0.0.1}" "`getAdminPassword`" "$1"
' "$(getRconPort)" "${ark_MultiHome:-127.0.0.1}" "$(getAdminPassword)" "$1"
}
#