From 6600f12a68aed092f01f0c1cca4728cbfa563919 Mon Sep 17 00:00:00 2001 From: Vortex <73261680+Vortex2Oblivion@users.noreply.github.com> Date: Mon, 20 Nov 2023 20:00:43 -0500 Subject: [PATCH] Make this parameter optional --- source/modding/ModchartUtilities.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/modding/ModchartUtilities.hx b/source/modding/ModchartUtilities.hx index 4989493370..c0fdfc1a7b 100644 --- a/source/modding/ModchartUtilities.hx +++ b/source/modding/ModchartUtilities.hx @@ -2727,7 +2727,7 @@ class ModchartUtilities { funnyCustomShader.setFloat(property, value); }); - setLuaFunction("tweenShader", function(id:String, property:String, value:Float, duration:Float, ease:String, ?startDelay:Float = 0.0, ?onComplete:Dynamic) { + setLuaFunction("tweenShader", function(id:String, property:String, value:Float, duration:Float, ?ease:String = "linear", ?startDelay:Float = 0.0, ?onComplete:Dynamic) { var shader:CustomShader = lua_Custom_Shaders.get(id); if (shader != null) { shader.tween(property, value, duration, easeFromString(ease), startDelay, onComplete);