From c0343c1c003d306ddc1c0e1cda04aa27c0eb5b46 Mon Sep 17 00:00:00 2001 From: Brevven Date: Sun, 15 Jan 2023 00:29:18 -0800 Subject: [PATCH] 248k fix SrConrabo --- changelog.txt | 5 +++++ compatibility/248k-final.lua | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index 468c860..312792a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 1.2.10 +Date: 2022-12-27 + Fixes: + - 248k + LootingRemnants startup fix, thanks to SrConrabo +--------------------------------------------------------------------------------------------------- Version: 1.2.9 Date: 2022-12-24 Localization: diff --git a/compatibility/248k-final.lua b/compatibility/248k-final.lua index 8585c31..24803b8 100644 --- a/compatibility/248k-final.lua +++ b/compatibility/248k-final.lua @@ -8,8 +8,7 @@ for i, recipe in pairs(data.raw.recipe) do util.replace_product(recipe.name, ti2, util.titanium_plate) end - -if mods.LootingRemnants then +if mods.LootingRemnants and data.raw.recipe.gr_white_hole_cycle_fi_materials_titan_recipe~=nil then data.raw.recipe.gr_white_hole_cycle_fi_materials_titan_recipe.exception_mods = {"Deconstruction", "LootingRemnants"} end