no wall nound on hard drop
This commit is contained in:
@ -349,13 +349,11 @@ class Tetromino {
|
||||
}
|
||||
matrix.drawPiece()
|
||||
return true
|
||||
} else if (!hardDropped) {
|
||||
if (translation == TRANSLATION.DOWN) {
|
||||
} else if (!hardDropped && translation == TRANSLATION.DOWN) {
|
||||
this.locked = true
|
||||
if (!scheduler.timeoutTasks.has(lockDown))
|
||||
scheduler.setTimeout(lockDown, stats.lockDelay)
|
||||
matrix.drawPiece()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user