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.
This commit is contained in:
Parnic
2016-10-04 13:33:27 -05:00
parent 5ff9be70da
commit 798fc314a3

View File

@ -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