fix hard drop game over
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -276,6 +276,7 @@
|
|||||||
this._spawnNewPiece();
|
this._spawnNewPiece();
|
||||||
this.canStore = true;
|
this.canStore = true;
|
||||||
this.accumulator = 0;
|
this.accumulator = 0;
|
||||||
|
if (!this._canSpawn()) this._gameOver();
|
||||||
}
|
}
|
||||||
|
|
||||||
_rotatePiece(direction) {
|
_rotatePiece(direction) {
|
||||||
|
|||||||
Reference in New Issue
Block a user