diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-10 22:13:05 -0600 |
---|---|---|
committer | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-10 22:13:05 -0600 |
commit | 69b5f4448c1cbd00ebcb6f444f2434cc272b7e97 (patch) | |
tree | 02152d8eb67f1b4913222b412d72740f59808c7b /src/entities/wordLava.js | |
parent | a23ea2e014d140dbe9c090e6cf7d55906480c260 (diff) | |
download | bbiy-69b5f4448c1cbd00ebcb6f444f2434cc272b7e97.tar.gz bbiy-69b5f4448c1cbd00ebcb6f444f2434cc272b7e97.zip |
Unlimited undo; add spritename component instead of sprites on each entity; update canvas on game object
Diffstat (limited to 'src/entities/wordLava.js')
-rw-r--r-- | src/entities/wordLava.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/wordLava.js b/src/entities/wordLava.js index dc50bf3..bb7a005 100644 --- a/src/entities/wordLava.js +++ b/src/entities/wordLava.js @@ -5,6 +5,6 @@ game.createWordLava = () => { wordLava.addComponent(game.components.Pushable({pushable: true})); wordLava.addComponent(game.components.Alive()); - wordLava.sprite = game.sprites.wordLava; + wordLava.addComponent(game.components.Sprite({spriteName: "wordLava"})) return wordLava; } |