From 6a8528d44ac85450a62fc1eac5388415bcf862bc Mon Sep 17 00:00:00 2001 From: Lucas Morgan Date: Thu, 2 Feb 2023 19:44:40 -0600 Subject: [PATCH] yep --- Shogi.UI/Pages/Home/GameBoard/SeatedGameBoard.razor | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Shogi.UI/Pages/Home/GameBoard/SeatedGameBoard.razor b/Shogi.UI/Pages/Home/GameBoard/SeatedGameBoard.razor index 9bd3528..563d34a 100644 --- a/Shogi.UI/Pages/Home/GameBoard/SeatedGameBoard.razor +++ b/Shogi.UI/Pages/Home/GameBoard/SeatedGameBoard.razor @@ -74,11 +74,10 @@ { if (pieceAtPosition is null) { - Console.WriteLine("Moving piece from hand."); // Placing a piece from the hand to an empty space. - // await ShogiApi.Move( - // Session.SessionName, - // new MovePieceCommand(selectedPieceFromHand.Value, position)); + await ShogiApi.Move( + Session.SessionName, + new MovePieceCommand(selectedPieceFromHand.Value, position)); } StateHasChanged(); return;