Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion committed Nov 21, 2023
2 parents c675dd0 + 6600f12 commit 50db4e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/modding/ModchartUtilities.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 50db4e8

Please sign in to comment.