Update: CC - Bacon - Key Down (dgscoensvf.js) 5 bytes modified

beta.r3js.org
-=yb4f310 2018-02-18 19:15:33 +01:00
parent d0b50d6d35
commit 6c20668f60
1 changed files with 2 additions and 4 deletions

View File

@ -20,8 +20,7 @@ if (this.ccBeforeRender.gameOver) {
} }
if (data.code === 'ArrowLeft' || if (data.code === 'ArrowLeft' ||
data.code === 'Left' data.code === 'Left') {
) {
move = {left:true}; move = {left:true};
} }
@ -36,8 +35,7 @@ if (data.code === 'ArrowUp' ||
} }
if (data.code === 'ArrowDown' || if (data.code === 'ArrowDown' ||
data.code === 'Down' data.code === 'Down') {
) {
this.rotateBlock(true); this.rotateBlock(true);
} }