Core/Instances: Fix an issue where instance greet messages were not properly sent out due to fetching the greet message for the instance difficulty selected by the player in the GUI, instead of the actual map difficulty in case a fallback difficulty was issued. (#22157)

This commit is contained in:
Krudor
2018-07-14 20:46:43 +02:00
committed by Shauren
parent 9a22f3b820
commit 7d353acde9

View File

@@ -175,7 +175,7 @@ void WorldSession::HandleMoveWorldportAck()
if (mInstance)
{
// check if this instance has a reset time and send it to player if so
Difficulty diff = GetPlayer()->GetDifficultyID(mEntry);
Difficulty diff = newMap->GetDifficultyID();
if (MapDifficultyEntry const* mapDiff = sDB2Manager.GetMapDifficultyData(mEntry->ID, diff))
{
if (mapDiff->GetRaidDuration())