diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-13 11:50:50 -0600 |
---|---|---|
committer | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-13 11:50:50 -0600 |
commit | 8d0c43c1e7c47bb6767d361d8141c1467df9d50a (patch) | |
tree | df3ad9549b92d0595906a66df67274874e635a1f /src | |
parent | 27fa6357a699771ade4ed5bf8c3fb32d7e73f4d4 (diff) | |
download | bbiy-8d0c43c1e7c47bb6767d361d8141c1467df9d50a.tar.gz bbiy-8d0c43c1e7c47bb6767d361d8141c1467df9d50a.zip |
Move sprites to their own bootstrap object due to race condition when loading graphics
Diffstat (limited to 'src')
-rw-r--r-- | src/bootstrap.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap.js b/src/bootstrap.js index f6997ae..3a38f72 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -7,7 +7,8 @@ game.bootstrap = (() => { ], id: 'utils' }, - { src: ['src/render/graphics.js', 'src/render/sprites.js'], id: 'graphics' }, + { src: ['src/render/graphics.js'], id: 'graphics' }, + { src: ['src/render/sprites.js'], id: 'sprites' }, { src: ['src/components/component.js'], id: 'component' }, { src: [ |