Compare commits
No commits in common. "ae38826a2e06138c60ec5746a5038983dbd3e0cb" and "dc284a4e5ea125f51c6554d4eb8a76a667f66270" have entirely different histories.
ae38826a2e
...
dc284a4e5e
3 changed files with 1 additions and 8 deletions
|
|
@ -1,6 +0,0 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
|
||||||
Version: 1.0.1
|
|
||||||
Date: 11.03.2026
|
|
||||||
Bug Fixes:
|
|
||||||
- K2: Fix bug in matter recipe generation
|
|
||||||
- Fix bug in add_icon when icons table is nil
|
|
||||||
|
|
@ -1591,7 +1591,6 @@ function util.add_icon(recipe_name, icon, options)
|
||||||
data.raw.recipe[recipe_name].icon = nil
|
data.raw.recipe[recipe_name].icon = nil
|
||||||
data.raw.recipe[recipe_name].icon_size = nil
|
data.raw.recipe[recipe_name].icon_size = nil
|
||||||
end
|
end
|
||||||
data.raw.recipe[recipe_name].icons = data.raw.recipe[recipe_name].icons or {}
|
|
||||||
table.insert(data.raw.recipe[recipe_name].icons, icon)
|
table.insert(data.raw.recipe[recipe_name].icons, icon)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bzlib",
|
"name": "bzlib",
|
||||||
"version": "1.0.1",
|
"version": "1.0.0",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
"title": "BZ Lib",
|
"title": "BZ Lib",
|
||||||
"description": "Library code for BZ mods",
|
"description": "Library code for BZ mods",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue