From bbbda84c68dda7326e9384be6b060625a65d3d8b Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Sat, 5 Nov 2022 14:17:49 -0300 Subject: [PATCH] Secure gradient EndFunction --- core/util.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/util.lua b/core/util.lua index a2a6c58a..5c327c37 100644 --- a/core/util.lua +++ b/core/util.lua @@ -1305,6 +1305,9 @@ end if (EndFunction and type(EndFunction) == "string") then EndFunction = loadstring (EndFunction) or false + if (EndFunction) then + DetailsFramework:SetEnvironment(EndFunction) + end end GradientFrameControl.gradientes [#GradientFrameControl.gradientes+1] = {