From 798fc314a34e66863a0ddd941f5a830c5a43a4f6 Mon Sep 17 00:00:00 2001 From: Parnic Date: Tue, 4 Oct 2016 13:33:27 -0500 Subject: [PATCH] Update more frequently I had set a bag check delay to ensure when the player looted masses of items at once that we didn't bog down the game. 1 second is way more than that case needs, so let's reduce it to 0.1 simply to prevent the "check 8 times when looting 8 items" performance problem but retain a responsive Breakables UI. --- Breakables.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Breakables.lua b/Breakables.lua index 444850b..e2f62e7 100644 --- a/Breakables.lua +++ b/Breakables.lua @@ -119,7 +119,7 @@ local BREAKABLE_ORE = 2 local BREAKABLE_DE = 3 local BREAKABLE_PICK = 4 -local BagUpdateCheckDelay = 1.0 +local BagUpdateCheckDelay = 0.1 local nextCheck = {} for i=0,NUM_BAG_SLOTS do nextCheck[i] = -1