fix bob issue
This commit is contained in:
parent
7795051221
commit
8238fdacdd
3 changed files with 7 additions and 2 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 2.1.13
|
||||||
|
Date: 2025-05-03
|
||||||
|
Fixes:
|
||||||
|
- Fix mod load issue with Bob's
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 2.1.12
|
Version: 2.1.12
|
||||||
Date: 2025-04-20
|
Date: 2025-04-20
|
||||||
Fixes:
|
Fixes:
|
||||||
|
|
|
||||||
|
|
@ -1330,7 +1330,7 @@ end
|
||||||
-- Replace one product with another in a recipe
|
-- Replace one product with another in a recipe
|
||||||
function util.replace_product(recipe_name, old, new, options)
|
function util.replace_product(recipe_name, old, new, options)
|
||||||
if not should_force(options) and bypass(recipe_name) then return end
|
if not should_force(options) and bypass(recipe_name) then return end
|
||||||
if data.raw.recipe[recipe_name] then
|
if data.raw.recipe[recipe_name] and (data.raw.item[new] or data.raw.fluid[new]) then
|
||||||
replace_product(data.raw.recipe[recipe_name], old, new, options)
|
replace_product(data.raw.recipe[recipe_name], old, new, options)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bztin",
|
"name": "bztin",
|
||||||
"version": "2.1.12",
|
"version": "2.1.13",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
"title": "Tin",
|
"title": "Tin",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue