From 872556543c933bb3339cc29f7c7a1238aba6bdfe Mon Sep 17 00:00:00 2001 From: MrGadget1024 Date: Sun, 17 Jan 2021 15:37:20 -0500 Subject: [PATCH] fix: NetworkManager: changed `print` to `logger.Log` --- Assets/Mirror/Runtime/NetworkManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Mirror/Runtime/NetworkManager.cs b/Assets/Mirror/Runtime/NetworkManager.cs index f5fbbb18d..196204a13 100644 --- a/Assets/Mirror/Runtime/NetworkManager.cs +++ b/Assets/Mirror/Runtime/NetworkManager.cs @@ -686,14 +686,14 @@ public virtual void OnApplicationQuit() if (NetworkClient.isConnected) { StopClient(); - print("OnApplicationQuit: stopped client"); + logger.Log("OnApplicationQuit: stopped client"); } // stop server after stopping client (for proper host mode stopping) if (NetworkServer.active) { StopServer(); - print("OnApplicationQuit: stopped server"); + logger.Log("OnApplicationQuit: stopped server"); } }