mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 02:55:22 +09:00
.
This commit is contained in:
@@ -307,6 +307,10 @@ if settings.startup['PHI-MI'].value or (settings.startup['PHI-GM'].value and set
|
||||
storage.phi_cl.combinator.research_progress = math.floor(game.forces['player'].research_progress * 100)
|
||||
|
||||
do
|
||||
for i = 1, 7 do
|
||||
storage.phi_cl.combinator.research_queue[i] = nil
|
||||
end
|
||||
|
||||
local n = 1
|
||||
|
||||
for _, r in pairs(game.forces['player'].research_queue) do
|
||||
@@ -321,10 +325,6 @@ if settings.startup['PHI-MI'].value or (settings.startup['PHI-GM'].value and set
|
||||
|
||||
n = n + 1
|
||||
end
|
||||
|
||||
for i = n, 7 do
|
||||
storage.phi_cl.combinator.research_queue[i] = nil
|
||||
end
|
||||
end
|
||||
|
||||
for _, s in pairs(game.surfaces) do
|
||||
|
||||
Reference in New Issue
Block a user