From e559576ddc22eca3ee363ea503aff4492bf9aa2a Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Thu, 26 Sep 2024 16:58:35 +0200 Subject: [PATCH] Add sound to stinkydetector --- FreshShit/StinkyDetector/init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/FreshShit/StinkyDetector/init.lua b/FreshShit/StinkyDetector/init.lua index cc39fcb..2fdb486 100644 --- a/FreshShit/StinkyDetector/init.lua +++ b/FreshShit/StinkyDetector/init.lua @@ -7,6 +7,8 @@ aura_env.localStinkies = {} ---@param name string aura_env.StinkyDetected = function(name) + if not aura_env.localStinkies[name] then + PlaySoundFile("Interface\\Sounds\\Domination.ogg", "Master") + end aura_env.localStinkies[name] = GetTime() - DevTools_Dump(aura_env.localStinkies) end \ No newline at end of file