Update: CC - Snake FS - Key Up (306204wy29.js) 0 bytes modified

beta.r3js.org
-=yb4f310 2018-03-19 09:28:34 +01:00
parent 89169aa1fe
commit 24b8c72db3
1 changed files with 2 additions and 2 deletions

View File

@ -31,9 +31,9 @@ if (data.keyCode === GameLib.System.Input.KEY_UP) {
this.state.orientation === GameLib.CustomCode.ORIENTATION_RIGHT
) {
if (this.state.orientation === GameLib.CustomCode.ORIENTATION_RIGHT) {
this.state.flip = true;
} else {
this.state.flip = false;
} else {
this.state.flip = true;
}
this.state.orientation = GameLib.CustomCode.ORIENTATION_UP;