From 75c6565c7ebf03e9bb1340ad77bf31ce1416c545 Mon Sep 17 00:00:00 2001 From: GrapeHuang Date: Tue, 3 Oct 2023 19:44:27 +0800 Subject: [PATCH] Modify Game.razor --- .../Gaas.GobbletGobblers.Client/Pages/Game.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InterfaceAdapter/Gaas.GobbletGobblers.Client/Pages/Game.razor b/src/InterfaceAdapter/Gaas.GobbletGobblers.Client/Pages/Game.razor index 9330cfa..1ae0162 100644 --- a/src/InterfaceAdapter/Gaas.GobbletGobblers.Client/Pages/Game.razor +++ b/src/InterfaceAdapter/Gaas.GobbletGobblers.Client/Pages/Game.razor @@ -293,7 +293,7 @@ } public bool IsConnected => !string.IsNullOrEmpty(name) && - gameId != default && + GameId != default && hubConnection.State == HubConnectionState.Connected; protected async Task PutCock(int x, int y)