load hollywoo assets BEFORE starting
This commit is contained in:
@@ -42,13 +42,13 @@ class AsyncEmbeddedScript {
|
||||
|
||||
#if macro
|
||||
public static function build(dslHaxelib:String, dslFile:String, scriptFile:String):Array<Field> {
|
||||
//trace('AsyncEmbeddedScript.build $dslHaxelib $dslFile $scriptFile');
|
||||
var k = Kiss.defaultKissState();
|
||||
|
||||
var classPath = Context.getPosInfos(Context.currentPos()).file;
|
||||
var loadingDirectory = Path.directory(classPath);
|
||||
var classFields = []; // Kiss.build() will already include Context.getBuildFields()
|
||||
|
||||
|
||||
var commandList:Array<Expr> = [];
|
||||
|
||||
if (dslHaxelib.length > 0) {
|
||||
@@ -74,10 +74,6 @@ class AsyncEmbeddedScript {
|
||||
return;
|
||||
});
|
||||
|
||||
for (command in commandList) {
|
||||
Sys.println(command.toString());
|
||||
}
|
||||
|
||||
classFields = classFields.concat(k.fieldList);
|
||||
|
||||
classFields.push({
|
||||
|
Reference in New Issue
Block a user