Skip to content

Commit

Permalink
#115 should be able to build assets
Browse files Browse the repository at this point in the history
  • Loading branch information
omenking committed Dec 26, 2017
1 parent ee2aab4 commit 6191224
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
File renamed without changes.
3 changes: 2 additions & 1 deletion src/renderer/states/load.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import game from 'core/game'
import State from 'states/base'
import controls from 'core/controls'
import Store from 'common/store'
//import * as assets from 'core/assets'

const store = new Store()

Expand All @@ -22,7 +23,7 @@ export default class LoadState extends State {

/** preload a json file where all assets preconfigs */
preload() {
game.load.json('assets', '../src/renderer/core/assets.json');
game.load.json('assets', './assets.json');
}

create() {
Expand Down

0 comments on commit 6191224

Please sign in to comment.