mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Fixes #47. Can now put any world (not just first) into ram.
This commit is contained in:
parent
f94c13dcf0
commit
98bb17999d
2
init/msm
2
init/msm
@ -2583,7 +2583,7 @@ call_command() {
|
||||
|
||||
if [[ "$sid" -ge "0" ]]; then
|
||||
if is_valid_name "$specified_name"; then
|
||||
if [ -d "${SERVER_WORLD_ACTIVE_PATH[$sid]}/$specified_name" ] || [ -d "${SERVER_WORLD_INACTIVE_PATH[$sid]}/$specified_name" ]; then
|
||||
if [ -d "${SERVER_WORLD_STORAGE[$sid]}/$specified_name" ] || [ -d "${SERVER_WORLD_STORAGE_INACTIVE[$sid]}/$specified_name" ]; then
|
||||
wid="$(server_world_get_id "$sid" "$specified_name")"
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user