mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-27 15:46:24 +00:00
chore(Core/modules): necessary core changes for mod-eluna rename (#22962)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
This commit is contained in:
@@ -2118,7 +2118,7 @@ void InstanceMap::CreateInstanceScript(bool load, std::string data, uint32 compl
|
||||
if (instance_data)
|
||||
isOtherAI = true;
|
||||
|
||||
// if Eluna AI was fetched succesfully we should not call CreateInstanceData nor set the unused scriptID
|
||||
// if ALE AI was fetched succesfully we should not call CreateInstanceData nor set the unused scriptID
|
||||
if (!isOtherAI)
|
||||
{
|
||||
InstanceTemplate const* mInstance = sObjectMgr->GetInstanceTemplate(GetId());
|
||||
@@ -2132,7 +2132,7 @@ void InstanceMap::CreateInstanceScript(bool load, std::string data, uint32 compl
|
||||
if (!instance_data)
|
||||
return;
|
||||
|
||||
// use mangos behavior if we are dealing with Eluna AI
|
||||
// use mangos behavior if we are dealing with ALE AI
|
||||
// initialize should then be called only if load is false
|
||||
if (!isOtherAI || !load)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user