From 216dcabe2085ef4a23ac6f3a91b16367a4e68ee6 Mon Sep 17 00:00:00 2001 From: KadeDev Date: Sun, 25 Apr 2021 15:43:17 -0700 Subject: [PATCH] fix alpha --- source/PlayState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index a43bd9a..dfc9df6 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -1478,7 +1478,7 @@ class PlayState extends MusicBeatState getActorByName(id).x = x; })); - trace(Lua_helper.add_callback(lua,"setActorAlpha", function(alpha:Int,id:String) { + trace(Lua_helper.add_callback(lua,"setActorAlpha", function(alpha:Float,id:String) { getActorByName(id).alpha = alpha; }));