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

Port From (https://github.com/TrinityCore/TrinityCore/commit/daafde7518f2b0df78d1974e06144662b27e3297)
This commit is contained in:
hondacrx
2022-06-15 18:17:43 -04:00
parent 6a00ece6d4
commit 8b976e7537
+1 -2
View File
@@ -1431,7 +1431,6 @@ namespace Scripts.World.NpcSpecial
public override bool OnGossipSelect(Player player, uint menuId, uint gossipListId)
{
uint action = player.PlayerTalkClass.GetGossipOptionAction(gossipListId);
player.PlayerTalkClass.ClearMenus();
switch (action)
{
@@ -1444,7 +1443,7 @@ namespace Scripts.World.NpcSpecial
}
player.PlayerTalkClass.SendCloseGossip();
return true;
return false;
}
}