From 9b597426ac45775f63b1fe4365c6fa8f3c3179af Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Mon, 18 Apr 2022 21:07:55 -0600 Subject: Wow this is some shitty fucking code god damn --- src/entities/wordWall.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/entities/wordWall.js') diff --git a/src/entities/wordWall.js b/src/entities/wordWall.js index ea7068f..277ab69 100644 --- a/src/entities/wordWall.js +++ b/src/entities/wordWall.js @@ -4,6 +4,7 @@ game.createWordWall = () => { wordWall.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); wordWall.addComponent(game.components.Pushable({pushable: true})); wordWall.addComponent(game.components.Alive()); - wordWall.addComponent(game.components.Sprite({spriteName: "wordWall"})) + wordWall.addComponent(game.components.Noun({select: "wall"})); + wordWall.addComponent(game.components.Sprite({spriteName: "wordWall"})); return wordWall; -} +}; -- cgit v1.2.3-70-g09d2