fix locked held piece

This commit is contained in:
Adrien MALINGREY 2023-06-15 22:52:42 +02:00
parent 1b82e05bb5
commit 3318a716f1

1
app.js
View File

@ -856,6 +856,7 @@ let playerActions = {
let heldPiece = holdQueue.piece
matrix.piece.facing = FACING.NORTH
matrix.piece.locked = false
holdQueue.piece = matrix.piece
holdQueue.piece.holdEnabled = false
holdQueue.piece.locked = false