From 2c1d047f4bcff73df9ddc9eeb4382d9fbb935a8b Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Mon, 28 Dec 2020 15:03:40 -0700 Subject: [PATCH] Don't let animations block actors with helmets --- js/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/game.js b/js/game.js index 9e82dbf..18429b0 100644 --- a/js/game.js +++ b/js/game.js @@ -63,7 +63,7 @@ export class Tile { // FIXME bowling ball isn't affected by helmet? also not sure bowling ball is stopped by // helmet? - if (this.has_item('helmet') || (this.type.is_actor && other.has_item('helmet'))) + if (this.has_item('helmet') || (this.type.is_actor && ! this.type.ttl && other.has_item('helmet'))) return true; // FIXME get this out of here