Fix Instant Drop
This commit is contained in:
parent
89afe54e37
commit
af1c24853f
|
@ -59,6 +59,7 @@ pub fn hardDrop(grid: Grid, piece: Piece) Piece {
|
||||||
while (!new_piece.timer_dropped.started) {
|
while (!new_piece.timer_dropped.started) {
|
||||||
new_piece = moveDown(grid, new_piece);
|
new_piece = moveDown(grid, new_piece);
|
||||||
}
|
}
|
||||||
|
new_piece.dropped = true;
|
||||||
return new_piece;
|
return new_piece;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue