diff options
Diffstat (limited to 'src/entities/wordRock.js')
-rw-r--r-- | src/entities/wordRock.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities/wordRock.js b/src/entities/wordRock.js index be303c4..96d8982 100644 --- a/src/entities/wordRock.js +++ b/src/entities/wordRock.js @@ -3,6 +3,7 @@ game.createWordRock = () => { wordRock.addComponent(game.components.LoadPriority({priority: 3})); wordRock.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); wordRock.addComponent(game.components.Pushable({pushable: true})); + wordRock.addComponent(game.components.Alive()); wordRock.sprite = game.sprites.wordRock; return wordRock; } |