mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05: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)
|
storage.phi_cl.combinator.research_progress = math.floor(game.forces['player'].research_progress * 100)
|
||||||
|
|
||||||
do
|
do
|
||||||
|
for i = 1, 7 do
|
||||||
|
storage.phi_cl.combinator.research_queue[i] = nil
|
||||||
|
end
|
||||||
|
|
||||||
local n = 1
|
local n = 1
|
||||||
|
|
||||||
for _, r in pairs(game.forces['player'].research_queue) do
|
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
|
n = n + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
for i = n, 7 do
|
|
||||||
storage.phi_cl.combinator.research_queue[i] = nil
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
for _, s in pairs(game.surfaces) do
|
for _, s in pairs(game.surfaces) do
|
||||||
|
|||||||
Reference in New Issue
Block a user