diff --git a/frontend/static/js/api/game/MyPlayer.js b/frontend/static/js/api/game/MyPlayer.js index 0702f58..6667219 100644 --- a/frontend/static/js/api/game/MyPlayer.js +++ b/frontend/static/js/api/game/MyPlayer.js @@ -38,7 +38,7 @@ class MyPlayer extends Player } if (rail.start.y != rail.stop.y) { - if (rail.start.y > rail.stop.y) + if (rail.start.y < rail.stop.y) { this.upKeys.push("w"); this.downKeys.push("s");