diff --git a/data/ui_scripts/custom_depot/depot_override.lua b/data/ui_scripts/custom_depot/depot_override.lua index 51d223dd..78826f51 100644 --- a/data/ui_scripts/custom_depot/depot_override.lua +++ b/data/ui_scripts/custom_depot/depot_override.lua @@ -197,7 +197,7 @@ MPDepotOpenLootMenu = function(unk1, unk2) custom_depot.get_function("remove_currency")(supply_drop_price.type, supply_drop_price.amount) custom_depot.get_function("save_depot_data")() - for i = 1, math.random(1, 3) do + for i = 1, unk2.crateType:find("_basic") and math.random(1, 2) or math.random(2, 3) do local items_list = LUI.MPLootDropsBase.GetGenericItemList(x, LUI.MPDepot.LootDropsData[LUI.MPDepot .SuppyDropLootStream[unk2.crateType]].lootTableColName) local random_item = items_list[math.random(#items_list)]