From d10cba79353933cd8c26d4a520cba67c12a53c01 Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Sun, 27 Dec 2020 09:33:02 -0700 Subject: [PATCH] Make bowling balls not detonate if bumped by an actor who can't enter the cell --- js/tiletypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tiletypes.js b/js/tiletypes.js index 35041be..f51b66d 100644 --- a/js/tiletypes.js +++ b/js/tiletypes.js @@ -2303,7 +2303,7 @@ const TILE_TYPES = { decide_movement(me, level) { return [me.direction]; }, - on_bumped(me, level, other) { + on_approach(me, level, other) { // Blow up anything that runs into us... unless we're on a cloner // FIXME there are other cases where this won't be right; this shouldn't happen if the // cell blocks the actor, but i don't have a callback for that?