From 9b9536d58690ae5b547e4a37df507acbf2fadeae Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Thu, 10 Sep 2020 15:45:07 -0600 Subject: [PATCH] Sliding actors don't get to make a decision --- js/game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/game.js b/js/game.js index 5bf6656..95be78a 100644 --- a/js/game.js +++ b/js/game.js @@ -498,8 +498,8 @@ export class Level { // Check which of those directions we *can*, probably, move in // TODO i think player on force floor will still have some issues here if (direction_preference) { - // Players always move the way they want, even if blocked - if (actor.type.is_player) { + // Players and sliding actors always move the way they want, even if blocked + if (actor.type.is_player || actor.slide_mode) { actor.decision = direction_preference[0]; continue; }