fixed capture
This commit is contained in:
parent
ff873687f3
commit
828bf85eea
1 changed files with 1 additions and 0 deletions
|
|
@ -195,6 +195,7 @@ func handleCapture(node: PieceContainer) -> void:
|
|||
|
||||
if moving_piece && captured_piece:
|
||||
game.updatePoints(captured_piece)
|
||||
source_container.remove_piece(true)
|
||||
node.set_piece(moving_piece)
|
||||
game.currentlyMovingPiece = moving_piece
|
||||
game.resolveMoveEffects()
|
||||
|
|
|
|||
Loading…
Reference in a new issue