diff --git a/luaui/Widgets/gui_gridmenu.lua b/luaui/Widgets/gui_gridmenu.lua index b565adbd59e..452a5375f74 100644 --- a/luaui/Widgets/gui_gridmenu.lua +++ b/luaui/Widgets/gui_gridmenu.lua @@ -2347,8 +2347,10 @@ local function checkGuishaderBuilders() end elseif dlistGuishaderBuilders then prevSelectedBuildersCount = 0 - dlistGuishaderBuilders = WG["guishader"].DeleteDlist("buildmenubuilders") - dlistGuishaderBuildersNext = WG["guishader"].DeleteDlist("buildmenubuildersNext") + WG["guishader"].DeleteDlist("buildmenubuilders") + WG["guishader"].DeleteDlist("buildmenubuildersNext") + dlistGuishaderBuilders = nil + dlistGuishaderBuildersNext = nil end end