Clear player scripts and guild scripts on ScriptMgr deletion.
--HG-- branch : trunk
This commit is contained in:
1 parent
791a45768f
commit
f3b93df6b7
1 file changed
+2
@@ -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