Skip to content

Commit

Permalink
Add additional check for loaders tech (#1481)
Browse files Browse the repository at this point in the history
  • Loading branch information
RedRafe authored Jan 3, 2025
1 parent 70af05f commit ed84ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/redmew_qol.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ local loaders_technology_map = {
local loader_check_token = Token.register(function()
for _, force in pairs(game.forces) do
for key, recipe in pairs(loaders_technology_map) do
if force.technologies[key].researched then
if force.technologies[key] and force.technologies[key].researched then
force.recipes[recipe].enabled = true
end
end
Expand Down

0 comments on commit ed84ed8

Please sign in to comment.