Skip to content

Commit

Permalink
Fix crash on load
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Jun 29, 2024
1 parent 8211ef2 commit 5a40001
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions prototypes/pipes/niobium-pipes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ RECIPE {
results = {
{'niobium-pipe', 2}
}
}:add_unlock {'niobium', 'py-storage-tanks'}:replace_ingredient('copper-plate', 'niobium-plate')
}:add_unlock{'niobium', 'py-storage-tanks'}:replace_ingredient('copper-plate', 'niobium-plate')

ITEM {
type = 'item',
Expand Down Expand Up @@ -511,8 +511,8 @@ local recipes = {
'py-turbine',
'science-coating'
}
for _, recipe in pairs(recipes) do
recipe:replace_ingredient('pipe', 'niobium-pipe')
for _, recipe_name in pairs(recipes) do
RECIPE(recipe_name):replace_ingredient('pipe', 'niobium-pipe')
end

ENTITY {
Expand Down
6 changes: 3 additions & 3 deletions prototypes/updates/base-updates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ if not mods['boblogistics'] then
ITEM('roboport'):add_flag('hidden')

for _, recipe in pairs(data.raw.recipe) do
r:replace_ingredient('roboport', 'py-roboport-mk01')
r:replace_ingredient('construction-robot', 'py-construction-robot-01')
r:replace_ingredient('logistic-robot', 'py-logistic-robot-01')
recipe:replace_ingredient('roboport', 'py-roboport-mk01')
recipe:replace_ingredient('construction-robot', 'py-construction-robot-01')
recipe:replace_ingredient('logistic-robot', 'py-logistic-robot-01')
end

if not mods['pycoalprocessing'] then
Expand Down

0 comments on commit 5a40001

Please sign in to comment.