Skip to content

Commit

Permalink
Merge pull request #15 from Daschi1/development
Browse files Browse the repository at this point in the history
1.5.2
  • Loading branch information
Daschi1 authored Jan 11, 2025
2 parents faee1d5 + ba32e43 commit 5f6c35f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 1.5.2
Date: 2025-01-11
Bugfixes:
- Fixed a crash that occurred when placing a logistic chest to connect it with an artillery turret.
---------------------------------------------------------------------------------------------------
Version: 1.5.1
Date: 2025-01-06
Bugfixes:
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": "automatic-logistic-chests",
"version": "1.5.1",
"version": "1.5.2",
"title": "Automatic Logistic Chests",
"author": "Daschi",
"factorio_version": "2.0",
Expand Down
4 changes: 2 additions & 2 deletions runtime/recipe-handler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,13 @@ function recipe_handler.get_recipe_quality(entity)
-- Check if entity is a recognized crafting machine
local entity_type = entity.type
if not recognized_standard_machine_types[entity_type] then
return ""
return "normal"
end

-- For recognized crafting machines, fetch the quality
local _, quality = entity.get_recipe()
if not quality or not quality.valid then
return ""
return "normal"
end

return quality.name
Expand Down

0 comments on commit 5f6c35f

Please sign in to comment.