From 6551470e9457cb0ecc19e1ff36317a1d345b3305 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Sun, 8 Jan 2023 22:48:34 +0100 Subject: [PATCH] correct value because table is no longer nameless --- src/playermat/ClueCounter.ttslua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playermat/ClueCounter.ttslua b/src/playermat/ClueCounter.ttslua index ede426e9..3dcaa490 100644 --- a/src/playermat/ClueCounter.ttslua +++ b/src/playermat/ClueCounter.ttslua @@ -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())