Save world before update

Not using isTheServerUp, as doSaveWorld should return immediately
if the server is not up.
This commit is contained in:
Ben Peddell 2015-09-18 23:56:30 +10:00
parent 85325f2169
commit 38d9b4e977

View File

@ -420,6 +420,8 @@ forceUpdate(){
if isTheServerRunning ;then
serverWasAlive=1
fi
echo "Saving world"
doSaveWorld
doStop
cd "$steamcmdroot"
./$steamcmdexec +login anonymous +force_install_dir "$arkserverroot" +app_update $appid +quit