Cleaned up some code
This commit is contained in:
@@ -4,12 +4,12 @@ import funkin.scripting.Script;
|
||||
import funkin.scripting.MultiThreadedScript;
|
||||
|
||||
class EngineUtil {
|
||||
/**
|
||||
* Starts a new multithreaded script.
|
||||
* This script will share all the variables with the current one, which means already existing callbacks will be replaced by new ones on conflict.
|
||||
* @param path
|
||||
*/
|
||||
public static function startMultithreadedScript(path:String) {
|
||||
return new MultiThreadedScript(path, Script.curScript);
|
||||
}
|
||||
/**
|
||||
* Starts a new multithreaded script.
|
||||
* This script will share all the variables with the current one, which means already existing callbacks will be replaced by new ones on conflict.
|
||||
* @param path
|
||||
*/
|
||||
public static function startMultithreadedScript(path:String) {
|
||||
return new MultiThreadedScript(path, Script.curScript);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user