aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrudor <erikstrandberg93@hotmail.com>2018-07-14 20:46:43 +0200
committerShauren <shauren.trinity@gmail.com>2018-07-14 20:46:43 +0200
commit7d353acde9a6ed348d4ff77d934176623bfca46a (patch)
tree187bbac187ac63e3f98fec22692db59742b5119b
parent9a22f3b820ec376fc2ee2d9a06e0adc9b0760dd8 (diff)
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)
-rw-r--r--src/server/game/Handlers/MovementHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Handlers/MovementHandler.cpp b/src/server/game/Handlers/MovementHandler.cpp
index eb987c24af3..99828a84c46 100644
--- a/src/server/game/Handlers/MovementHandler.cpp
+++ b/src/server/game/Handlers/MovementHandler.cpp
@@ -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())