mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 14:21:18 +00:00
Fix call to bogus function.
Fix equivalent of bogus function.
This commit is contained in:
parent
19bf33706e
commit
1de1fe8b6b
1 changed files with 2 additions and 2 deletions
|
@ -264,7 +264,7 @@ config(){
|
|||
get_mod_id_by_index(){
|
||||
X=1
|
||||
# Loop over mods
|
||||
for link in $(ls -tdr ${SERVER_PROFILE}/@* 2> /dev/null)
|
||||
for link in $(ls -tdr ${SERVER_FILES}/@* 2> /dev/null)
|
||||
do
|
||||
ID=$(readlink ${link} | awk -F/ '{print $NF}')
|
||||
if [[ ${X} = ${1} ]]
|
||||
|
@ -300,7 +300,7 @@ activate(){
|
|||
UU="un"
|
||||
COLOR="${red}"
|
||||
fi
|
||||
ID=$(get_mod_id_by_index2 ${1})
|
||||
ID=$(get_mod_id_by_index ${1})
|
||||
MODNAME=$(get_mod_name ${ID})
|
||||
# Toggle state or report nothing burger
|
||||
pushd "${SERVER_PROFILE}" > /dev/null
|
||||
|
|
Loading…
Add table
Reference in a new issue