1
0
Fork 0

players to not be saved when map saving is disabled (due to some error)

mutilcraft-mt53
Perttu Ahola 2011-02-14 11:10:44 +02:00
parent 14fafc7217
commit 32a29489f3
1 changed files with 15 additions and 12 deletions

View File

@ -1395,6 +1395,8 @@ void Server::AsyncRunStep()
JMutexAutoLock lock(m_env_mutex);
if(((ServerMap*)(&m_env.getMap()))->isSavingEnabled() == true)
{
// Save only changed parts
m_env.getMap().save(true);
@ -1412,6 +1414,7 @@ void Server::AsyncRunStep()
}
}
}
}
void Server::Receive()
{