mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
feat(Core/Misc): remove and replace ACE_Singleton (#2418)
This commit is contained in:
@@ -172,6 +172,12 @@ ScriptMgr::~ScriptMgr()
|
||||
{
|
||||
}
|
||||
|
||||
ScriptMgr* ScriptMgr::instance()
|
||||
{
|
||||
static ScriptMgr instance;
|
||||
return &instance;
|
||||
}
|
||||
|
||||
void ScriptMgr::Initialize()
|
||||
{
|
||||
AddScripts();
|
||||
|
||||
Reference in New Issue
Block a user