Fix Instant Drop

This commit is contained in:
Dusk 2022-07-10 23:12:09 +02:00
parent 89afe54e37
commit af1c24853f
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ pub fn hardDrop(grid: Grid, piece: Piece) Piece {
while (!new_piece.timer_dropped.started) {
new_piece = moveDown(grid, new_piece);
}
new_piece.dropped = true;
return new_piece;
}