Skip to content

Commit

Permalink
fix bid links posting both modes
Browse files Browse the repository at this point in the history
  • Loading branch information
Road-block committed Jan 8, 2025
1 parent a920ee7 commit 0a0f1aa
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BastionLoot.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Author: Roadblock
## Title: BastionLoot
## Notes: In-game EPGP loot helper, supports standby, main/alt shared pool, minEP, offpecGP. Pluggable price list. Alternative +wincount mode.
## Version: 4.3.4
## Version: 4.3.5
## X-Alpha:
## X-Website: https://github.com/Road-block/BastionLoot/releases/latest
## OptionalDeps: Ace3, MizusRaidTracker
Expand Down
2 changes: 1 addition & 1 deletion BastionLoot_Cata.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Author: Roadblock
## Title: BastionLoot
## Notes: In-game EPGP loot helper, supports standby, main/alt shared pool, minEP, offpecGP. Pluggable price list. Alternative +wincount mode.
## Version: 4.3.4
## Version: 4.3.5
## X-Alpha:
## X-Website: https://github.com/Road-block/BastionLoot/releases/latest
## OptionalDeps: Ace3, MizusRaidTracker
Expand Down
2 changes: 1 addition & 1 deletion BastionLoot_Vanilla.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Author: Roadblock
## Title: BastionLoot
## Notes: In-game EPGP loot helper, supports standby, main/alt shared pool, minEP, offpecGP. Pluggable price list. Alternative +wincount mode.
## Version: 2.9.3
## Version: 2.9.4
## X-Alpha:
## X-Website: https://github.com/Road-block/BastionLoot/releases/latest
## OptionalDeps: Ace3, MizusRaidTracker
Expand Down
1 change: 1 addition & 0 deletions Modules/PlusRoll/bids.lua
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ function bepgp_plusroll_bids:Toggle(anchor)
end

function bepgp_plusroll_bids:SetItemRef(link, text, button, chatFrame)
if bepgp.db.char.mode ~= "plusroll" then return end
local linktype, addon, bid, masterlooter = strsplit(":",link)
if linktype == "addon" and addon == addonName then
if bid == "1" then
Expand Down
1 change: 1 addition & 0 deletions Modules/bids.lua
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ function bepgp_bids:Toggle(anchor)
end

function bepgp_bids:SetItemRef(link, text, button, chatFrame)
if bepgp.db.char.mode ~= "epgp" then return end
local linktype, addon, bid, masterlooter = strsplit(":",link)
if linktype == "addon" and addon == addonName then
if bid == "1" or bid == "5" then
Expand Down

0 comments on commit 0a0f1aa

Please sign in to comment.