This commit is contained in:
2024-06-17 18:24:55 +09:00
parent db34813e48
commit 620f822a7e
5 changed files with 36 additions and 35 deletions

View File

@@ -10,7 +10,7 @@ for index, force in pairs(game.forces) do
end
for _, v in pairs(items) do
if technologies[v.tech] ~= nil then
if technologies[v.tech] then
if technologies[v.tech].researched then
if recipes[v.name .. '-s1'] ~= nil then
recipes[v.name .. '-s1'].enabled = true