From 48cbed9a9787b8ca065ca23b037c31efd65ccd7d Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 18 Nov 2023 10:40:59 +0100 Subject: [PATCH] afkcam: increase event detection delay to 10 sec --- modules/afkcam.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/afkcam.lua b/modules/afkcam.lua index 9f38a189..3ccca111 100644 --- a/modules/afkcam.lua +++ b/modules/afkcam.lua @@ -159,7 +159,7 @@ pfUI:RegisterModule("afkcam", "vanilla:tbc", function () delay:RegisterEvent("AUCTION_ITEM_LIST_UPDATE") delay:SetScript("OnEvent", function() - this.delay = GetTime() + 5 + this.delay = GetTime() + 10 end) delay:SetScript("OnUpdate", function() @@ -171,7 +171,7 @@ pfUI:RegisterModule("afkcam", "vanilla:tbc", function () if not this.delay then this.delay = 0 end if cast then - this.delay = GetTime() + 5 + this.delay = GetTime() + 10 end if this.delay < GetTime() then