mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-21 20:00:48 +00:00
afkcam: increase event detection delay to 10 sec
This commit is contained in:
+2
-2
@@ -159,7 +159,7 @@ pfUI:RegisterModule("afkcam", "vanilla:tbc", function ()
|
|||||||
|
|
||||||
delay:RegisterEvent("AUCTION_ITEM_LIST_UPDATE")
|
delay:RegisterEvent("AUCTION_ITEM_LIST_UPDATE")
|
||||||
delay:SetScript("OnEvent", function()
|
delay:SetScript("OnEvent", function()
|
||||||
this.delay = GetTime() + 5
|
this.delay = GetTime() + 10
|
||||||
end)
|
end)
|
||||||
|
|
||||||
delay:SetScript("OnUpdate", function()
|
delay:SetScript("OnUpdate", function()
|
||||||
@@ -171,7 +171,7 @@ pfUI:RegisterModule("afkcam", "vanilla:tbc", function ()
|
|||||||
if not this.delay then this.delay = 0 end
|
if not this.delay then this.delay = 0 end
|
||||||
|
|
||||||
if cast then
|
if cast then
|
||||||
this.delay = GetTime() + 5
|
this.delay = GetTime() + 10
|
||||||
end
|
end
|
||||||
|
|
||||||
if this.delay < GetTime() then
|
if this.delay < GetTime() then
|
||||||
|
|||||||
Reference in New Issue
Block a user