mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Clear player scripts and guild scripts on ScriptMgr deletion.
--HG-- branch : trunk
This commit is contained in:
@@ -170,6 +170,8 @@ ScriptMgr::~ScriptMgr()
|
||||
SCR_CLEAR(DynamicObjectScript);
|
||||
SCR_CLEAR(TransportScript);
|
||||
SCR_CLEAR(AchievementCriteriaScript);
|
||||
SCR_CLEAR(PlayerScript);
|
||||
SCR_CLEAR(GuildScript);
|
||||
|
||||
#undef SCR_CLEAR
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user