From 654fdb14c5e0efb17cd2132c78c36154497cfd26 Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Sat, 5 Sep 2026 18:58:12 +0200 Subject: [PATCH] Throttle Auctions selection validation polling --- tabs/auctions/core.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tabs/auctions/core.lua b/tabs/auctions/core.lua index ec54346..3b7ffa9 100644 --- a/tabs/auctions/core.lua +++ b/tabs/auctions/core.lua @@ -56,6 +56,7 @@ do local IDLE, SEARCHING, FOUND = aux.enum(3) local state = IDLE local found_index + local update_elapsed = 0 function find_auction(record) if not listing:ContainsRecord(record) then return end @@ -82,6 +83,10 @@ do end function on_update() + update_elapsed = update_elapsed + (arg1 or 0) + if update_elapsed < .1 then return end + update_elapsed = 0 + if state == IDLE or state == SEARCHING then cancel_button:Disable() end