From 0fd8833a2ddb1c4cda941810baec345c8297935a Mon Sep 17 00:00:00 2001 From: Brevven Date: Thu, 18 Mar 2021 19:24:11 -0700 Subject: [PATCH] py compat --- changelog.txt | 5 +++++ info.json | 2 +- map-gen-preset-updates.lua | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 8dd9512..9b190f1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.10.4 +Date: 2021-03-14 + Fixes: + - Fix py/angel/bob compat +--------------------------------------------------------------------------------------------------- Version: 0.10.3 Date: 2021-03-14 Features: diff --git a/info.json b/info.json index 285ff63..2d3948e 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bztitanium", - "version": "0.10.3", + "version": "0.10.4", "factorio_version": "1.1", "title": "Titanium", "author": "Brevven", diff --git a/map-gen-preset-updates.lua b/map-gen-preset-updates.lua index 55dc86f..3d1443a 100644 --- a/map-gen-preset-updates.lua +++ b/map-gen-preset-updates.lua @@ -1,3 +1,4 @@ +if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then if data.raw["map-gen-presets"] and data.raw["map-gen-presets"].default then for name, preset in pairs(data.raw["map-gen-presets"].default) do if type(preset) == "table" and @@ -8,3 +9,4 @@ if data.raw["map-gen-presets"] and data.raw["map-gen-presets"].default then end end end +end