From 69596ba244d6959dfe188ce958542c062b475f75 Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Tue, 5 Apr 2022 17:33:25 -0600 Subject: Checkpoint with particles --- src/entities/grass.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/entities/grass.js') 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; } -- cgit v1.2.3-70-g09d2