From d91ac8b96a171539dacfc54ca5892c9ef00751f0 Mon Sep 17 00:00:00 2001 From: Vortex <73261680+Vortex2Oblivion@users.noreply.github.com> Date: Fri, 15 Dec 2023 09:34:59 -0500 Subject: [PATCH] Fix this global --- source/modding/scripts/languages/HScript.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/modding/scripts/languages/HScript.hx b/source/modding/scripts/languages/HScript.hx index 2123935a89..74740a19a6 100644 --- a/source/modding/scripts/languages/HScript.hx +++ b/source/modding/scripts/languages/HScript.hx @@ -121,7 +121,7 @@ class HScript interp.variables.set("Std", Std); interp.variables.set("StringTools", StringTools); interp.variables.set("FlxRuntimeShader", flixel.addons.display.FlxRuntimeShader); - interp.variables.set("FlxRuntimeShader", shaders.custom.CustomShader); + interp.variables.set("CustomShader", shaders.custom.CustomShader); interp.variables.set("FlxShader", flixel.system.FlxAssets.FlxShader); interp.variables.set('ShaderFilter', openfl.filters.ShaderFilter); interp.variables.set('FlxAnimate', flxanimate.FlxAnimate);