Core/Maps: Fixed retrieving terrain info when on child maps
Port From (https://github.com/TrinityCore/TrinityCore/commit/704142f15a51055c4fa064b1286b65d78b795e05)
This commit is contained in:
@@ -192,6 +192,9 @@ namespace Game.Scenarios
|
||||
public override bool CanCompleteCriteriaTree(CriteriaTree tree)
|
||||
{
|
||||
ScenarioStepRecord step = tree.ScenarioStep;
|
||||
if (step == null)
|
||||
return false;
|
||||
|
||||
ScenarioStepState state = GetStepState(step);
|
||||
if (state == ScenarioStepState.Done)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user