mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-13 23:43:44 +00:00
feat(Core/Misc): remove and replace ACE_Singleton (#2418)
This commit is contained in:
@@ -58,6 +58,12 @@ BattlegroundMgr::~BattlegroundMgr()
|
||||
DeleteAllBattlegrounds();
|
||||
}
|
||||
|
||||
BattlegroundMgr* BattlegroundMgr::instance()
|
||||
{
|
||||
static BattlegroundMgr instance;
|
||||
return &instance;
|
||||
}
|
||||
|
||||
void BattlegroundMgr::DeleteAllBattlegrounds()
|
||||
{
|
||||
while (!m_Battlegrounds.empty())
|
||||
|
||||
Reference in New Issue
Block a user