game: fix: w up, s down
This commit is contained in:
parent
766585c4d0
commit
8a7866aefa
@ -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