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