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:
@@ -1431,7 +1431,6 @@ namespace Scripts.World.NpcSpecial
|
|||||||
public override bool OnGossipSelect(Player player, uint menuId, uint gossipListId)
|
public override bool OnGossipSelect(Player player, uint menuId, uint gossipListId)
|
||||||
{
|
{
|
||||||
uint action = player.PlayerTalkClass.GetGossipOptionAction(gossipListId);
|
uint action = player.PlayerTalkClass.GetGossipOptionAction(gossipListId);
|
||||||
player.PlayerTalkClass.ClearMenus();
|
|
||||||
|
|
||||||
switch (action)
|
switch (action)
|
||||||
{
|
{
|
||||||
@@ -1444,7 +1443,7 @@ namespace Scripts.World.NpcSpecial
|
|||||||
}
|
}
|
||||||
|
|
||||||
player.PlayerTalkClass.SendCloseGossip();
|
player.PlayerTalkClass.SendCloseGossip();
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user