Adjust Auto Research Queued Number (#345)

This commit is contained in:
2025-01-03 05:28:58 +09:00
committed by GitHub
parent b72135f39f
commit 6c6a8e03ff

View File

@@ -26,7 +26,7 @@ function module.res_queue(force, silent)
local res = force.technologies[config.bonus_inventory.res[config.mod_set].name]
if #res_q < config.queue_amount then
for i = 1, config.queue_amount - #res_q do
for i = #res_q, config.queue_amount - 1 do
force.add_research(res)
if not silent then