Move sprites to their own bootstrap object due to race condition when loading graphics
This commit is contained in:
parent
27fa6357a6
commit
8d0c43c1e7
3
src/bootstrap.js
vendored
3
src/bootstrap.js
vendored
@ -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: [
|
||||
|
Loading…
Reference in New Issue
Block a user