Update shootyepgp.lua

This commit is contained in:
Cinecom
2025-08-15 20:30:03 +02:00
parent 51b2ad4ee0
commit 49ce904b9e
+4 -4
View File
@@ -988,10 +988,10 @@ function sepgp:bidPrint(link, masterlooter, need, greed, bid)
-- Start with a string that has placeholders for all three
local msg = string.format(L["Click $MS or $PRIOOS or $OS for %s"], link)
math.randomseed(GetTime() * 1000)
if sepgp_sound then
local randomSound = math.random(1, 24)
PlaySoundFile("Interface\\AddOns\\shootyepgp\\Sounds\\loot-" .. randomSound .. ".wav")
end
local randomSound = math.random(1, 24)
PlaySoundFile("Interface\\AddOns\\shootyepgp\\Sounds\\loot-" .. randomSound .. ".wav")
-- Decide which placeholders to keep/remove based on need/greed/bid
if (need and greed) or bid then