Make bowling balls not detonate if bumped by an actor who can't enter the cell

This commit is contained in:
Eevee (Evelyn Woods) 2020-12-27 09:33:02 -07:00
parent 2c9fbbba50
commit d10cba7935

View File

@ -2303,7 +2303,7 @@ const TILE_TYPES = {
decide_movement(me, level) { decide_movement(me, level) {
return [me.direction]; 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 // 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 // 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? // cell blocks the actor, but i don't have a callback for that?