Core/Phasing: Fixed startup crash caused by accessing uninitialized global variable
Port From (https://github.com/TrinityCore/TrinityCore/commit/35ab7dfa8ef5f79af0ee69ed8c19f4be7a635af5)
This commit is contained in:
@@ -484,7 +484,7 @@ namespace Game
|
||||
|
||||
if (phaseId != 0)
|
||||
phaseShift.AddPhase(phaseId, GetPhaseFlags(phaseId), null);
|
||||
else
|
||||
else if (phaseGroupId != 0)
|
||||
{
|
||||
var phasesInGroup = Global.DB2Mgr.GetPhasesForGroup(phaseGroupId);
|
||||
foreach (uint phaseInGroup in phasesInGroup)
|
||||
|
||||
Reference in New Issue
Block a user