From feafba6679e8d9ae4efed11ef4190cf921e042c0 Mon Sep 17 00:00:00 2001 From: Christian Fillion Date: Fri, 3 May 2024 17:22:27 -0400 Subject: [PATCH] Release Apply render preset v2.1.3 (#1377) Minor optimization and internal code cleanup --- Rendering/cfillion_Apply render preset.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rendering/cfillion_Apply render preset.lua b/Rendering/cfillion_Apply render preset.lua index cfadf97bf..cbc584ed3 100644 --- a/Rendering/cfillion_Apply render preset.lua +++ b/Rendering/cfillion_Apply render preset.lua @@ -1012,7 +1012,7 @@ for name, preset in pairs(presets) do end table.sort(names, function(a, b) return a:lower() < b:lower() end) -if not ImGui.CreateContext then +if not ImGui then local presetName = gfxdo(function() if #names == 0 then gfx.showmenu('#No render preset found')