locomotive stuffs, icon fix
This commit is contained in:
parent
b73386dd64
commit
872ec639fa
4 changed files with 24 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue