game: fix: w up, s down
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user