mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Cache GM tickets on server startup.
This commit is contained in:
parent
49307f6a13
commit
843a0d7d02
11 changed files with 435 additions and 260 deletions
|
|
@ -56,6 +56,7 @@
|
|||
#include "CellImpl.h"
|
||||
#include "InstanceSaveMgr.h"
|
||||
#include "WaypointManager.h"
|
||||
#include "GMTicketMgr.h"
|
||||
#include "Util.h"
|
||||
|
||||
INSTANTIATE_SINGLETON_1( World );
|
||||
|
|
@ -1125,6 +1126,9 @@ void World::SetInitialWorldSettings()
|
|||
sLog.outString( "Loading Waypoints..." );
|
||||
WaypointMgr.Load();
|
||||
|
||||
sLog.outString( "Loading GM tickets...");
|
||||
ticketmgr.LoadGMTickets();
|
||||
|
||||
///- Handle outdated emails (delete/return)
|
||||
sLog.outString( "Returning old mails..." );
|
||||
objmgr.ReturnOrDeleteOldMails(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue