mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix calc_loot export
This commit is contained in:
parent
4be73acc61
commit
74cefdafbd
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ function util.drop(ppos, itemid, count, data, pickup_delay)
|
|||
}})
|
||||
end
|
||||
|
||||
function calc_loot(loot_table)
|
||||
function util.calc_loot(loot_table)
|
||||
local results = {}
|
||||
for _, loot in ipairs(loot_table) do
|
||||
local chance = loot.chance or 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue