summaryrefslogtreecommitdiff
path: root/src/entities/wordWater.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/wordWater.js')
-rw-r--r--src/entities/wordWater.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/wordWater.js b/src/entities/wordWater.js
index e6272d1..c6404bf 100644
--- a/src/entities/wordWater.js
+++ b/src/entities/wordWater.js
@@ -4,6 +4,6 @@ game.createWordWater = () => {
wordWater.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100}));
wordWater.addComponent(game.components.Pushable({pushable: true}));
wordWater.addComponent(game.components.Alive());
- wordWater.sprite = game.sprites.wordWater;
+ wordWater.addComponent(game.components.Sprite({spriteName: "wordWater"}))
return wordWater;
}