The server after forced shutdown does not save despite the function:
tfs 1.2 8.6
tfs 1.2 8.6
Lua:
void Game::shutdown()
{
std::cout << ">> Shutting down...\n> " << std::flush;
saveGameState();
g_scheduler.shutdown();
g_databaseTasks.shutdown();
g_dispatcher.shutdown();
map.spawns.clear();
raids.clear();
cleanup();
if (serviceManager) {
serviceManager->stop();
}
ConnectionManager::getInstance().closeAll();
std::cout << "> Done!" << std::endl;
}