mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-27 05:46:22 +09:00
.
This commit is contained in:
@@ -423,7 +423,7 @@ if data.raw.technology and items['technology'] and items['technology_reform'] th
|
|||||||
|
|
||||||
elseif v.unit and v.unit.ingredients then
|
elseif v.unit and v.unit.ingredients then
|
||||||
for i = #v.unit.ingredients, 1, -1 do
|
for i = #v.unit.ingredients, 1, -1 do
|
||||||
if data.raw['tool'][v.unit.ingredients[i][1]].hidden then
|
if data.raw.item[v.unit.ingredients[i][1]].hidden then
|
||||||
table.remove(v.unit.ingredients, i)
|
table.remove(v.unit.ingredients, i)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user