From 744094e2ba41acb0b3c6985f1d12f60761e6e07e Mon Sep 17 00:00:00 2001 From: Jaidyn Ann <10477760+JadedCtrl@users.noreply.github.com> Date: Mon, 5 Aug 2024 09:54:23 -0500 Subject: [PATCH] Fix crash on lack of progressive-mode progress --- i4/src/gui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i4/src/gui.lua b/i4/src/gui.lua index 6fa9764..787fb9d 100644 --- a/i4/src/gui.lua +++ b/i4/src/gui.lua @@ -1600,7 +1600,7 @@ local function get_items_fs(fs, data, player, full_height) local item_btn = fmt("item_image_button", X, Y, size, size, name, item, "") if recipe_filter_set() and data.itab == 1 then - if data.items_progress[item] then + if data.items_progress and data.items_progress[item] then insert(fs, item_btn) else local col = "^\\[colorize:#232428^\\[opacity:245"