mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Fixed, in wold memory allocation, an incorrect variable name.
This commit is contained in:
parent
6333774d6f
commit
85c66fc0ab
4
init/msm
4
init/msm
@ -2869,7 +2869,7 @@ allocate() {
|
|||||||
WORLD_SERVER_ID[$world_id]="$server_id"
|
WORLD_SERVER_ID[$world_id]="$server_id"
|
||||||
WORLD_NAME[$world_id]="$name"
|
WORLD_NAME[$world_id]="$name"
|
||||||
|
|
||||||
world_id="$(($id+1))"
|
world_id="$(($world_id+1))"
|
||||||
done < <(find "${SERVER_WORLD_STORAGE_PATH[$server_id]}" -mindepth 1 -maxdepth 1 -type d -print0)
|
done < <(find "${SERVER_WORLD_STORAGE_PATH[$server_id]}" -mindepth 1 -maxdepth 1 -type d -print0)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -2882,7 +2882,7 @@ allocate() {
|
|||||||
WORLD_SERVER_ID[$world_id]="$server_id"
|
WORLD_SERVER_ID[$world_id]="$server_id"
|
||||||
WORLD_NAME[$world_id]="$name"
|
WORLD_NAME[$world_id]="$name"
|
||||||
|
|
||||||
world_id="$(($id+1))"
|
world_id="$(($world_id+1))"
|
||||||
done < <(find "${SERVER_WORLD_STORAGE_INACTIVE_PATH[$server_id]}" -mindepth 1 -maxdepth 1 -type d -print0)
|
done < <(find "${SERVER_WORLD_STORAGE_INACTIVE_PATH[$server_id]}" -mindepth 1 -maxdepth 1 -type d -print0)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user