@@ -3175,11 +3175,11 @@ class LegacyFunkinLua {
31753175 var lastCalledFunction : String = ' ' ;
31763176 public function call (func : String , args : Array <Dynamic >): Dynamic {
31773177 #if LUA_ALLOWED
3178- if (closed ) return Function_Continue ;
3178+ if (closed ) return LuaUtils . Function_Continue ;
31793179
31803180 lastCalledFunction = func ;
31813181 try {
3182- if (lua == null ) return Function_Continue ;
3182+ if (lua == null ) return LuaUtils . Function_Continue ;
31833183
31843184 Lua .getglobal (lua , func );
31853185 var type : Int = Lua .type (lua , - 1 );
@@ -3189,7 +3189,7 @@ class LegacyFunkinLua {
31893189 luaTrace (" ERROR (" + func + " ): attempt to call a " + typeToString (type ) + " value" , false , false , FlxColor .RED );
31903190
31913191 Lua .pop (lua , 1 );
3192- return Function_Continue ;
3192+ return LuaUtils . Function_Continue ;
31933193 }
31943194
31953195 for (arg in args ) Convert .toLua (lua , arg );
@@ -3199,12 +3199,12 @@ class LegacyFunkinLua {
31993199 if (status != Lua .LUA_OK ) {
32003200 var error : String = getErrorMessage (status );
32013201 luaTrace (" ERROR (" + func + " ): " + error , false , false , FlxColor .RED );
3202- return Function_Continue ;
3202+ return LuaUtils . Function_Continue ;
32033203 }
32043204
32053205 // If successful, pass and then return the result.
32063206 var result : Dynamic = cast Convert .fromLua (lua , - 1 );
3207- if (result == null ) result = Function_Continue ;
3207+ if (result == null ) result = LuaUtils . Function_Continue ;
32083208
32093209 Lua .pop (lua , 1 );
32103210 return result ;
@@ -3213,7 +3213,7 @@ class LegacyFunkinLua {
32133213 trace (e );
32143214 }
32153215 #end
3216- return Function_Continue ;
3216+ return LuaUtils . Function_Continue ;
32173217 }
32183218
32193219 static function addAnimByIndices (obj : String , name : String , prefix : String , indices : String , framerate : Int = 24 , loop : Bool = false )
0 commit comments