diff --git a/exp_legacy/module/config/research.lua b/exp_legacy/module/config/research.lua index df106aa7..c2511d28 100644 --- a/exp_legacy/module/config/research.lua +++ b/exp_legacy/module/config/research.lua @@ -44,7 +44,7 @@ return { ["oil-processing"] = 300, ["sulfur-processing"] = 300, ["plastics"] = 300, - ["advanced-electronics"] = 300, + ["advanced-circuit"] = 300, ["chemical-science-pack"] = 300, ["modules"] = 300, ["logistics-2"] = 300, @@ -58,7 +58,7 @@ return { ["advanced-material-processing-2"] = 300, ["productivity-module"] = 300, ["production-science-pack"] = 300, - ["advanced-electronics-2"] = 300, + ["processing-unit"] = 300, ["advanced-oil-processing"] = 300, ["electric-engine"] = 300, ["robotics"] = 300, diff --git a/exp_legacy/module/modules/gui/research.lua b/exp_legacy/module/modules/gui/research.lua index 79aad0b9..fbce2cea 100644 --- a/exp_legacy/module/modules/gui/research.lua +++ b/exp_legacy/module/modules/gui/research.lua @@ -147,7 +147,9 @@ local function research_gui_update() local res_i = res_n + i - 3 if res["disp"][res_i] then - res_disp[i]["name"] = { "research.res-name", res["disp"][res_i]["raw_name"], prototypes.technology[res["disp"][res_i]["raw_name"]].localised_name } + local raw_name = res["disp"][res_i]["raw_name"] + local proto = assert(prototypes.technology[raw_name], "Invalid Research: " .. tostring(raw_name)) + res_disp[i]["name"] = { "research.res-name", raw_name, proto.localised_name } if research.time[res_i] == 0 then res_disp[i]["target"] = res["disp"][res_i].target_disp