diff --git a/changelog.txt b/changelog.txt index 7a32f9a..cf30c71 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.9.8 +Date: 2021-01-07 + Fixes: + - Bugfix for space exploration deadlock beltbox edge cases +--------------------------------------------------------------------------------------------------- Version: 0.9.7 Date: 2020-12-29 Fixes: diff --git a/info.json b/info.json index 5fd2168..d32ccab 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bztitanium", - "version": "0.9.7", + "version": "0.9.8", "factorio_version": "1.1", "title": "Titanium", "author": "Brevven", diff --git a/titanium-recipe-final-se.lua b/titanium-recipe-final-se.lua index b744cb1..18a53d8 100644 --- a/titanium-recipe-final-se.lua +++ b/titanium-recipe-final-se.lua @@ -48,8 +48,10 @@ if data.raw.recipe["se-space-pipe"] then util.steel_to_titanium(data.raw.recipe["se-space-transport-belt-loader"]) util.steel_to_titanium(data.raw.recipe["se-space-transport-belt-loader"].normal) util.steel_to_titanium(data.raw.recipe["se-space-transport-belt-loader"].expensive) - util.steel_to_titanium(data.raw.recipe["se-space-transport-belt-beltbox"]) - util.steel_to_titanium(data.raw.recipe["se-space-transport-belt-beltbox"].normal) - util.steel_to_titanium(data.raw.recipe["se-space-transport-belt-beltbox"].expensive) + if data.raw.recipe["se-space-transport-belt-beltbox"] then + util.steel_to_titanium(data.raw.recipe["se-space-transport-belt-beltbox"]) + util.steel_to_titanium(data.raw.recipe["se-space-transport-belt-beltbox"].normal) + util.steel_to_titanium(data.raw.recipe["se-space-transport-belt-beltbox"].expensive) + end end end