mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
.
This commit is contained in:
@@ -84,7 +84,7 @@ local function on_research_finished(event)
|
|||||||
if not research.res_queue_enable then return end
|
if not research.res_queue_enable then return end
|
||||||
|
|
||||||
local force = event.research.force
|
local force = event.research.force
|
||||||
if config.bonus_inventory.res[mod_set] and force.technologies[config.bonus_inventory.res[mod_set].name] and force.technologies[config.bonus_inventory.res[mod_set].name].level > config.bonus_inventory.res[mod_set].level then
|
if config.bonus_inventory.log[mod_set] and force.technologies[config.bonus_inventory.log[mod_set].name] and force.technologies[config.bonus_inventory.log[mod_set].name].level > config.bonus_inventory.log[mod_set].level then
|
||||||
module.res_queue(force, event.by_script)
|
module.res_queue(force, event.by_script)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user