From 3e80b77a9d867fc0a73face2e5222450b8d76c01 Mon Sep 17 00:00:00 2001 From: Horyoshi <42314202+Cinecom@users.noreply.github.com> Date: Thu, 13 Feb 2025 11:54:29 +0100 Subject: [PATCH] Update shootyepgp.lua --- shootyepgp.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/shootyepgp.lua b/shootyepgp.lua index 5a11d22..8d057c7 100644 --- a/shootyepgp.lua +++ b/shootyepgp.lua @@ -1204,16 +1204,17 @@ function sepgp:addonComms(prefix, message, channel, sender) -- Process BIDITEM messages to set bid item info on all clients and auto open bids window if string.sub(message, 1, 8) == "BIDITEM;" then + sepgp:clearBids(true) -- Clear the bid window for everyone local s, e, bidItemLink = string.find(message, "BIDITEM;(.+)") if bidItemLink then sepgp.bid_item = sepgp.bid_item or {} sepgp.bid_item.linkFull = bidItemLink local found, _, itemColor, itemString, itemName = string.find(bidItemLink, "^(|c%x+)|H(.+)|h(%[.+%])") if found then - sepgp.bid_item.link = itemString - sepgp.bid_item.name = string.format("%s%s|r", itemColor, itemName) + sepgp.bid_item.link = itemString + sepgp.bid_item.name = string.format("%s%s|r", itemColor, itemName) end - -- Auto–open the bids window on all clients + -- Auto-open the bids window on all clients sepgp_bids:Toggle(true) end return