Fix issue in Creature::UpdateEntry and CMSG_GOSSIP_SELECT_OPTION

Port From (https://github.com/TrinityCore/TrinityCore/commit/80d920dab5d8688fda19b612ec58bcb1a576cbc0)
This commit is contained in:
hondacrx
2021-11-15 20:59:07 -05:00
parent a80881eb76
commit 81193e3e3a
+5 -1
View File
@@ -414,9 +414,13 @@ namespace Game.Entities
UpdateMovementFlags();
LoadCreaturesAddon();
LoadTemplateImmunities();
LoadTemplateImmunities();
GetThreatManager().EvaluateSuppressed();
//We must update last scriptId or it looks like we reloaded a script, breaking some things such as gossip temporarily
LastUsedScriptID = GetScriptId();
return true;
}