correct value because table is no longer nameless

This commit is contained in:
Chr1Z93 2023-01-08 22:48:34 +01:00
parent 40854e43e2
commit 6551470e94

View File

@ -26,7 +26,7 @@ end
-- Activated once per second, counts items in bowls
function countItems()
local totalValue = -1
local totalValue = 0
local countableItems = findValidItemsInSphere()
for _, entry in ipairs(countableItems) do
local descValue = tonumber(entry.hit_object.getDescription())