diff --git a/changelog.txt b/changelog.txt index d3122bc..fe280f5 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.1.1 +Date: 26.04.2020 + Features: + - No longer depends on the base mod +--------------------------------------------------------------------------------------------------- Version: 0.1.0 Date: 23.03.2020 Features: diff --git a/data-updates.lua b/data-updates.lua index 191e2a8..2ed645e 100644 --- a/data-updates.lua +++ b/data-updates.lua @@ -1,4 +1,4 @@ -for _, v in pairs(data.raw.tile) do +for _, v in pairs(data.raw.tile or {}) do if (v.decorative_removal_probability or 0) > 0 then v.decorative_removal_probability = 1 end diff --git a/info.json b/info.json index d67a123..97c7015 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name":"CleanFloor", - "version":"0.1.0", + "version":"0.1.1", "title":"Clean Floor", "description":"Remove all decorations when placing floor tiles.", "author":"David Skrundz", @@ -8,6 +8,6 @@ "homepage": "https://github.com/DavidSkrundz/CleanFloor", "factorio_version": "0.18", "dependencies": [ - "base >= 0.18.0" + "? base" ] }