mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix: NetworkManager: changed print
to logger.Log
This commit is contained in:
parent
b80436cc41
commit
872556543c
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user