diff options
Diffstat (limited to 'src/entities/grass.js')
-rw-r--r-- | src/entities/grass.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities/grass.js b/src/entities/grass.js index f2a6da2..f731ef1 100644 --- a/src/entities/grass.js +++ b/src/entities/grass.js @@ -2,6 +2,7 @@ game.createGrass = () => { const grass = game.Entity(); grass.addComponent(game.components.LoadPriority({priority: 6})); grass.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + grass.addComponent(game.components.Alive()); grass.sprite = game.sprites.grass; return grass; } |