From db8c54f913dcd36d50ef2d5f0f1d9ba78fefaa26 Mon Sep 17 00:00:00 2001 From: vis2k Date: Mon, 12 Dec 2022 16:35:54 +0100 Subject: [PATCH] NetworkServer.localConnection: strong typing --- Assets/Mirror/Core/NetworkServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Core/NetworkServer.cs b/Assets/Mirror/Core/NetworkServer.cs index ee3f71358..0d061d3f9 100644 --- a/Assets/Mirror/Core/NetworkServer.cs +++ b/Assets/Mirror/Core/NetworkServer.cs @@ -33,7 +33,7 @@ public static partial class NetworkServer static double lastSendTime; /// Connection to host mode client (if any) - public static NetworkConnectionToClient localConnection { get; private set; } + public static LocalConnectionToClient localConnection { get; private set; } /// True is a local client is currently active on the server [Obsolete("NetworkServer.localClientActive was renamed to .activeHost to be more obvious")] // DEPRECATED 2022-12-12