fix(Core/GameObject): Remove unneeded ClearGossipMenuFor call (#18331)

This commit is contained in:
Mykhailo Redko 2024-02-18 12:21:52 +02:00 committed by GitHub
parent b32292bb5e
commit 86bff27611
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -128,7 +128,6 @@ uint32 ScriptMgr::GetDialogStatus(Player* player, GameObject* go)
ASSERT(go);
auto tempScript = ScriptRegistry<GameObjectScript>::GetScriptById(go->GetScriptId());
ClearGossipMenuFor(player);
return tempScript ? tempScript->GetDialogStatus(player, go) : DIALOG_STATUS_SCRIPTED_NO_STATUS;
}