Running LUA scripts with multiple haxeCodes will only run the first loaded script.
function onCreate()
runHaxeCode([[debugPrint(2);]]);
runHaxeCode([[debugPrint(3);]]);
end
function onBeatHit()
runHaxeCode([[debugPrint(]] .. curBeat .. [[);]]);
end
When onCreate() runs, 2 will be printed twice instead of 2 and 3.
When onBeatHit() runs, 2 will be printed instead of the current beat number.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Describe your bug here.
Running LUA scripts with multiple haxeCodes will only run the first loaded script.
When onCreate() runs,
2
will be printed twice instead of2
and3
. When onBeatHit() runs,2
will be printed instead of the current beat number.Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No