From 07a5cca7250961daf2f914c41a33c62f20cb6f23 Mon Sep 17 00:00:00 2001 From: vis2k Date: Wed, 27 Feb 2019 14:32:15 +0100 Subject: [PATCH] NetworkConnection.isConnected obsolete --- Assets/Mirror/Runtime/NetworkConnection.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Mirror/Runtime/NetworkConnection.cs b/Assets/Mirror/Runtime/NetworkConnection.cs index bf359f554..a8c8a7a36 100644 --- a/Assets/Mirror/Runtime/NetworkConnection.cs +++ b/Assets/Mirror/Runtime/NetworkConnection.cs @@ -21,6 +21,7 @@ public class NetworkConnection : IDisposable // this is always true for regular connections, false for local // connections because it's set in the constructor and never reset. + [Obsolete("isConnected will be removed because it's pointless. A NetworkConnection is always connected.")] public bool isConnected { get; protected set; } public NetworkConnection(string networkAddress)