aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Instances/InstanceScript.cpp
diff options
context:
space:
mode:
authorxinef1 <w.szyszko2@gmail.com>2017-02-05 23:42:31 +0100
committerShauren <shauren.trinity@gmail.com>2019-07-21 21:06:54 +0200
commit4f65dc5e20cc3af5b3595809707c632faa6e5900 (patch)
treeb265710b6dd2d87bb0f4409770ab77d116654de0 /src/server/game/Instances/InstanceScript.cpp
parentad4e63bae145ae49b584ab2fc621660430cec0d3 (diff)
Core/Misc: Various crash fixes (#19059)
* Replaced some FindPlayer calls with GetPlayer Fixed some more crashes * Correction (cherrypicked from 14dfc377b48bc909894396e65d4e4ce89d9708b6)
Diffstat (limited to 'src/server/game/Instances/InstanceScript.cpp')
-rw-r--r--src/server/game/Instances/InstanceScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Instances/InstanceScript.cpp b/src/server/game/Instances/InstanceScript.cpp
index ce5a75cb313..c6258b67f44 100644
--- a/src/server/game/Instances/InstanceScript.cpp
+++ b/src/server/game/Instances/InstanceScript.cpp
@@ -749,7 +749,7 @@ void InstanceScript::UpdateEncounterState(EncounterCreditType type, uint32 credi
if (Group* grp = player->GetGroup())
if (grp->isLFGGroup())
{
- sLFGMgr->FinishDungeon(grp->GetGUID(), dungeonId);
+ sLFGMgr->FinishDungeon(grp->GetGUID(), dungeonId, instance);
return;
}
}