Make composter_progress_chance local, as it is not used anywhere except in mcl_composters

This commit is contained in:
teknomunk 2024-05-26 17:12:44 +00:00
parent a700a0bbb1
commit c301870259
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ end
---@param pos Vector Position of the node
---@param node node
---@param chance integer Value of "compostability" group of inserted item
function composter_progress_chance(pos, node, chance)
local function composter_progress_chance(pos, node, chance)
-- calculate leveling up chance
local rand = math.random(0,100)
if chance >= rand then