This commit is contained in:
phidias committed 2023-09-19 01:35:35 +09:00
1 parent ac8cfdf06a
commit 4b95176a06
5 files changed
+24 -12

No files matched your search

+4 -2
View File
@@ -10,8 +10,10 @@ for _, force in pairs(game.forces) do
if technologies[v.tech] ~= nil then
if technologies[v.tech].researched then
for j=v.min, v.max, 1 do
recipes[v.name .. '-' .. j].enabled = true
recipes[v.name .. '-' .. j].reload()
if recipes[v.name .. '-' .. j] ~= nil then
recipes[v.name .. '-' .. j].enabled = true
recipes[v.name .. '-' .. j].reload()
end
end
end
end