From 742042729b4e3926e0679e3f1775f92d22ae8461 Mon Sep 17 00:00:00 2001 From: Kacper Kostka Date: Tue, 22 Nov 2022 09:28:35 +0000 Subject: [PATCH] Zaktualizuj 'mods/shit_poop/init.lua' --- mods/shit_poop/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/shit_poop/init.lua b/mods/shit_poop/init.lua index ea7c06a..72d349b 100644 --- a/mods/shit_poop/init.lua +++ b/mods/shit_poop/init.lua @@ -170,8 +170,8 @@ function destruction_counter.updateCounter(player) local totalDestruction = destruction_counter.nodesDestroyed + math.floor(nodesDestroyedByHand / 10) local percentage = (totalDestruction / 200 * 4) - if percentage > 200 then - percentage = 200 + if percentage > 100 then + percentage = 100 end player:hud_change(idText, "text", "Shitting & Packing Meter: " .. totalDestruction) player:hud_change(idMeter, "scale", {x = percentage, y = 4})