This commit is contained in:
2023-02-02 19:44:40 -06:00
parent 3bf9aa3ee3
commit 6a8528d44a

View File

@@ -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;