diff --git a/LethalNetworkAPI/Utils/LNetworkUtils.cs b/LethalNetworkAPI/Utils/LNetworkUtils.cs index f3bba96..e716d09 100644 --- a/LethalNetworkAPI/Utils/LNetworkUtils.cs +++ b/LethalNetworkAPI/Utils/LNetworkUtils.cs @@ -19,7 +19,7 @@ public static class LNetworkUtils /// /// Whether the client is connected to a server. /// - public static bool IsConnected => NetworkManager.Singleton?.IsConnectedClient ?? false; + public static bool IsConnected => NetworkManager.Singleton?.LocalClient != null; /// /// Whether the client is the host or server.