Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32017

[TFS 1.x] Automatic save on exit

$
0
0
game.cpp, search for:
Code:
void Game::shutdown()
{
   std::cout << "Shutting down..." << std::flush;

   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;
}
replace for:
Code:
void Game::shutdown()
{
   std::cout << ">> Shutting down...\n> " <<...
[TFS 1.x] Automatic save on exit

Viewing all articles
Browse latest Browse all 32017

Trending Articles