From bfec7ea72a4dd1fd5cc03e7cff52caba2dca4690 Mon Sep 17 00:00:00 2001 From: alexiscatnip Date: Fri, 5 Aug 2022 18:33:46 +0800 Subject: [PATCH] bugfix: improve GamePresenter's IsConnected evaluation --- Assets/Raindrop/UI/Game/GamePresenter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Raindrop/UI/Game/GamePresenter.cs b/Assets/Raindrop/UI/Game/GamePresenter.cs index 7bcb667..765ea5a 100644 --- a/Assets/Raindrop/UI/Game/GamePresenter.cs +++ b/Assets/Raindrop/UI/Game/GamePresenter.cs @@ -21,7 +21,7 @@ namespace Raindrop.Presenters private Settings s; //todo. init this. - bool IsConnectedToServer => instance.Client.Network.Connected; + bool IsConnectedToServer => instance.Netcom.IsLoggedIn; #region references to UI elements