mirror of
https://github.com/parnic/breakables.git
synced 2025-06-16 17:40:13 -05:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user