fix: NetworkManager: changed print to logger.Log

This commit is contained in:
MrGadget1024 2021-01-17 15:37:20 -05:00
parent b80436cc41
commit 872556543c

View File

@ -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");
}
}