Update: CC - Bacon - Key Down (dgscoensvf.js) 5 bytes modified
parent
d0b50d6d35
commit
6c20668f60
|
@ -20,8 +20,7 @@ if (this.ccBeforeRender.gameOver) {
|
|||
}
|
||||
|
||||
if (data.code === 'ArrowLeft' ||
|
||||
data.code === 'Left'
|
||||
) {
|
||||
data.code === 'Left') {
|
||||
move = {left:true};
|
||||
}
|
||||
|
||||
|
@ -36,8 +35,7 @@ if (data.code === 'ArrowUp' ||
|
|||
}
|
||||
|
||||
if (data.code === 'ArrowDown' ||
|
||||
data.code === 'Down'
|
||||
) {
|
||||
data.code === 'Down') {
|
||||
this.rotateBlock(true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue