This commit is contained in:
2025-04-16 17:39:36 +09:00
parent 0020b79c1f
commit 26d4f150d1

View File

@@ -23,7 +23,8 @@ end)
--- @param silent boolean True when no message should be printed
function module.res_queue(force, silent)
local res_q = force.research_queue
local res = force.technologies[config.bonus_inventory.res[config.mod_set].name or "mining-productivity-4"]
game.print(config.mod_set)
local res = force.technologies[config.bonus_inventory.res[config.mod_set].name]
if #res_q < config.queue_amount then
for i = #res_q, config.queue_amount - 1 do