mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Fixed severe bug in server_ensure_links.
Would not cycle through a servers worlds at all, therefor creating no links when called.
This commit is contained in:
parent
828f108be1
commit
785c5730ec
2
msm
2
msm
@ -248,7 +248,7 @@ server_ensure_links() {
|
|||||||
local i=${server_world_offset[$1]}
|
local i=${server_world_offset[$1]}
|
||||||
local max=$(( $i + ${server_num_worlds[$1]} ))
|
local max=$(( $i + ${server_num_worlds[$1]} ))
|
||||||
|
|
||||||
while [[ $i < $max ]]; do
|
while [[ $i -lt $max ]]; do
|
||||||
# -L checks for the path being a link rather than a file
|
# -L checks for the path being a link rather than a file
|
||||||
# ! -a, since it is within double square brackets means: the negation of
|
# ! -a, since it is within double square brackets means: the negation of
|
||||||
# the existence of the file. In other words: true if does not exist
|
# the existence of the file. In other words: true if does not exist
|
||||||
|
Loading…
Reference in New Issue
Block a user