Scripts/Gossip: Fixed money not being removed when enabling/disabling experience gains

This commit is contained in:
Shauren authored and Ovahlord committed 2022-12-18 13:48:43 +01:00
1 parent 36aacc7f2a
commit e548dfafdf
1 file changed
+1 -2
+1 -2
View File
@@ -1965,7 +1965,6 @@ class npc_experience : public CreatureScript
bool GossipSelect(Player* player, uint32 /*menuId*/, uint32 gossipListId) override
{
uint32 const action = player->PlayerTalkClass->GetGossipOptionAction(gossipListId);
ClearGossipMenuFor(player);
switch (action)
{
@@ -1977,7 +1976,7 @@ class npc_experience : public CreatureScript
break;
}
CloseGossipMenuFor(player);
return true;
return false;
}
bool GossipHello(Player* player) override