mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 02:55:22 +09:00
.
This commit is contained in:
@@ -312,10 +312,10 @@ if settings.startup['PHI-MI'].value or (settings.startup['PHI-GM'].value and set
|
||||
for _, r in pairs(game.forces['player'].research_queue) do
|
||||
if r.name and r.level and r.research_unit_count_formula then
|
||||
if storage.phi_cl.combinator.research_queue[n] then
|
||||
storage.phi_cl.combinator.research_queue[n].value = storage.phi_cl.combinator.research_queue[n].value + math.pow(2, n + 8)
|
||||
storage.phi_cl.combinator.research_queue[n].value = storage.phi_cl.combinator.research_queue[n].value + math.pow(2, n - 1)
|
||||
|
||||
else
|
||||
storage.phi_cl.combinator.research_queue[n] = {name = r.name, value = math.pow(2, n + 8)}
|
||||
storage.phi_cl.combinator.research_queue[n] = {name = r.name, value = math.pow(2, n - 1)}
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user