Zaktualizuj 'mods/shit_poop/init.lua'
This commit is contained in:
parent
bd677949e0
commit
742042729b
@ -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})
|
||||
|
Loading…
x
Reference in New Issue
Block a user