game: fix: w up, s down
This commit is contained in:
parent
96aba81e23
commit
f3bbad9eb9
@ -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)
|
if (rail.start.y < rail.stop.y)
|
||||||
{
|
{
|
||||||
this.upKeys.push("w");
|
this.upKeys.push("w");
|
||||||
this.downKeys.push("s");
|
this.downKeys.push("s");
|
||||||
|
Loading…
Reference in New Issue
Block a user