Skip to content

Commit

Permalink
fix: Resolved order of ops problem that completely breaks the loading…
Browse files Browse the repository at this point in the history
… process
  • Loading branch information
adam-coster committed Jul 10, 2023
1 parent 11c2102 commit f9f7f59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/parser/src/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -438,9 +438,9 @@ export class Project {
options?.onLoadProgress?.(5, 'Loaded GML spec');
});
logger.info('Loading asset files...');
const fileLoader = this.loadAssets(options);
await Promise.all([this.nativeWaiter, this.yypWaiter]);

await Promise.all([this.nativeWaiter, fileLoader]);
await this.loadAssets(options);
logger.log(
'Resources',
this.assets.size,
Expand Down

0 comments on commit f9f7f59

Please sign in to comment.