Skip to content

Commit

Permalink
Update to 0.17.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ZwerOxotnik committed Nov 14, 2024
1 parent 35619d2 commit 7f2dbf7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 0.17.7
Date: 14. 11. 2024
Bugfixes:
- Fixed lazyAPI.recipe.find_main_result
---------------------------------------------------------------------------------------------------
Version: 0.17.6
Date: 27. 10. 2024
Scripting:
Expand Down
2 changes: 1 addition & 1 deletion experimental/lazyAPI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5854,7 +5854,7 @@ lazyAPI.recipe.find_main_result = function(prototype, item)
if prot.results then
local item_name = (type(item) == "string" and item) or item.name
local _, result = next(prot.results)
return result.name == item_name
return (result and result.name == item_name) or false
end
return false
end
Expand Down
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zk-lib",
"version": "0.17.6",
"version": "0.17.7",
"factorio_version": "2.0",
"title": "ZwerOxotnik's extendable mod with 8 addons",
"author": "ZwerOxotnik",
Expand Down

0 comments on commit 7f2dbf7

Please sign in to comment.