fix simple compress
This commit is contained in:
parent
04832f65fe
commit
79049f8917
4 changed files with 12 additions and 5 deletions
|
|
@ -1,4 +1,9 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 1.0.9
|
||||
Date: 2022-05-25
|
||||
Features:
|
||||
- Fix a breakage when used with simple compress mod.
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 1.0.8
|
||||
Date: 2022-02-22
|
||||
Features:
|
||||
|
|
|
|||
|
|
@ -541,10 +541,10 @@ end
|
|||
|
||||
-- Set recipe icons
|
||||
function util.set_item_icons(item_name, icons)
|
||||
if data.raw.recipe[item_name] then
|
||||
data.raw.recipe[item_name].icons = icons
|
||||
data.raw.recipe[item_name].icon = nil
|
||||
data.raw.recipe[item_name].icon_size = nil
|
||||
if data.raw.item[item_name] then
|
||||
data.raw.item[item_name].icons = icons
|
||||
data.raw.item[item_name].icon = nil
|
||||
data.raw.item[item_name].icon_size = nil
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bztitanium",
|
||||
"version": "1.0.8",
|
||||
"version": "1.0.9",
|
||||
"factorio_version": "1.1",
|
||||
"title": "Titanium",
|
||||
"author": "Brevven",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
local util = require("data-util");
|
||||
|
||||
if simpleCompress then
|
||||
if simpleCompress.ores then
|
||||
simpleCompress.currentSubgroup = "intermediate-product"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue