summaryrefslogtreecommitdiff
path: root/src/entities/floor.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/floor.js')
-rw-r--r--src/entities/floor.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities/floor.js b/src/entities/floor.js
index 0210f37..d16392e 100644
--- a/src/entities/floor.js
+++ b/src/entities/floor.js
@@ -2,6 +2,7 @@ game.createFloor = () => {
const floor = game.Entity();
floor.addComponent(game.components.LoadPriority({priority: 5}));
floor.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100}));
+ floor.addComponent(game.components.Alive());
floor.sprite = game.sprites.floor;
return floor;
}