diff --git a/changelog.txt b/changelog.txt index cce134f..fdcd698 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,8 @@ Version: 0.18.2 Date: 2020-05-28 Changes: - moved plates to Dectorio recipe group (if installed) + Bugfixes: + - removed check for show_in_library (removed in 0.18.37) --------------------------------------------------------------------------------------------------- Version: 0.18.1 Date: 2020-05-26 diff --git a/control.lua b/control.lua index 20e09fa..0dc477e 100644 --- a/control.lua +++ b/control.lua @@ -376,7 +376,7 @@ local function create_display_gui(player, selected) local button_table = {} for prototype_type,prototypes in pairs(DID.elem_prototypes) do for _,prototype in pairs(game[prototypes]) do - if not DID.displays[prototype.name] and not ((prototype_type == "item" and (prototype.has_flag("hidden") or prototype.show_in_library)) or (prototype_type == "fluid" and prototype.hidden)) then + if not DID.displays[prototype.name] and not ((prototype_type == "item" and prototype.has_flag("hidden")) or (prototype_type == "fluid" and prototype.hidden)) then local group = (prototype.group.name == "fluids") and "intermediate-products" or prototype.group.name if not DID.group_blacklist[group] then if button_table[group] == nil then button_table[group] = {} end diff --git a/info.json b/info.json index abcf00e..132c772 100644 --- a/info.json +++ b/info.json @@ -4,7 +4,9 @@ "title": "Industrial Display Plates", "author": "Wyrrrd", "homepage": "https://github.com/Wyrrrd/IndustrialDisplayPlates", - "dependencies": ["base >= 0.18.27"], + "dependencies": [ + "base >= 0.18.27" + ], "description": "Big, medium and small signs which display item and fluid icons. Can be used to blueprint map markers.", "factorio_version": "0.18" }