diff --git a/snake.js b/snake.js index 8d0a988..b0a3169 100644 --- a/snake.js +++ b/snake.js @@ -385,6 +385,10 @@ class Snake { } setMoveDirection(desiredDirection) { + if (running == false) { + toggleRunning(); + } + if (isOppositeDirection(this.direction, desiredDirection)) { return; }