Update: CC - Snake FS - Key Up (306204wy29.js) 0 bytes modified
parent
89169aa1fe
commit
24b8c72db3
|
@ -31,9 +31,9 @@ if (data.keyCode === GameLib.System.Input.KEY_UP) {
|
||||||
this.state.orientation === GameLib.CustomCode.ORIENTATION_RIGHT
|
this.state.orientation === GameLib.CustomCode.ORIENTATION_RIGHT
|
||||||
) {
|
) {
|
||||||
if (this.state.orientation === GameLib.CustomCode.ORIENTATION_RIGHT) {
|
if (this.state.orientation === GameLib.CustomCode.ORIENTATION_RIGHT) {
|
||||||
this.state.flip = true;
|
|
||||||
} else {
|
|
||||||
this.state.flip = false;
|
this.state.flip = false;
|
||||||
|
} else {
|
||||||
|
this.state.flip = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.state.orientation = GameLib.CustomCode.ORIENTATION_UP;
|
this.state.orientation = GameLib.CustomCode.ORIENTATION_UP;
|
||||||
|
|
Loading…
Reference in New Issue