1
0
mirror of https://github.com/msmhq/msm.git synced 2024-08-30 18:12:35 +00:00

Fixed deactivating/activating a world changing file permissions to root.

This commit is contained in:
Marcus Whybrow 2012-07-20 05:10:48 +01:00
parent ee5589bac0
commit 9664c094e0

@ -330,6 +330,7 @@ world_backup() {
# Activates a world
# $1: The ID of the world
world_activate() {
server_property "${WORLD_SERVER_ID[$1]}" USERNAME
world_property "$1" INACTIVE_PATH
world_property "$1" ACTIVE_PATH
@ -350,6 +351,7 @@ world_activate() {
# Deactivates a world
# $1: The ID of the world
world_deactivate() {
server_property "${WORLD_SERVER_ID[$1]}" USERNAME
world_property "$1" ACTIVE_PATH
world_property "$1" INACTIVE_PATH
world_property "$1" PATH