Core/Scenarios: Group criteria storage by scenario id

Port From (https://github.com/TrinityCore/TrinityCore/commit/6e2ef357180b296369c725c3af113653c988840e)
This commit is contained in:
hondacrx
2022-08-10 09:33:51 -04:00
parent fd7a31108a
commit b472e1b3b0
2 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -346,7 +346,7 @@ namespace Game.Scenarios
public override List<Criteria> GetCriteriaByType(CriteriaType type, uint asset)
{
return Global.CriteriaMgr.GetScenarioCriteriaByType(type);
return Global.CriteriaMgr.GetScenarioCriteriaByTypeAndScenario(type, _data.Entry.Id);
}
void SendBootPlayer(Player player)