From e1c4e8567003fbab7661bd5e27471d8fc8a56977 Mon Sep 17 00:00:00 2001 From: PHIDIAS <10016767+PHIDIAS0303@users.noreply.github.com> Date: Sat, 18 Mar 2023 16:40:07 +0900 Subject: [PATCH] Update main.lua --- PHI-MB/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHI-MB/main.lua b/PHI-MB/main.lua index 23be839..152238b 100644 --- a/PHI-MB/main.lua +++ b/PHI-MB/main.lua @@ -326,7 +326,7 @@ for i=1, #recipe_list, 1 do end end -for _, tech in data.raw.technology do +for _, tech in pairs(data.raw.technology) do for k, _ in pairs(tech.effects) do if tech.effects[k].type == 'unlock-recipe' then if data.raw.recipe[tech.effects[k].recipe] ~= nil then