From 74cefdafbd1168f0ca678941322bdf62aa55e881 Mon Sep 17 00:00:00 2001 From: EsPaKira Date: Sun, 2 Aug 2026 21:39:33 +0400 Subject: [PATCH] fix calc_loot export --- res/content/base/modules/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/content/base/modules/util.lua b/res/content/base/modules/util.lua index 1044eb394..2f53ba6be 100644 --- a/res/content/base/modules/util.lua +++ b/res/content/base/modules/util.lua @@ -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