mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkManager - Added comments to StartClient
This commit is contained in:
parent
d8f06b2922
commit
0a6942497a
@ -413,6 +413,9 @@ public void StartClient()
|
|||||||
if (mode == NetworkManagerMode.ServerOnly)
|
if (mode == NetworkManagerMode.ServerOnly)
|
||||||
{
|
{
|
||||||
mode = NetworkManagerMode.Host;
|
mode = NetworkManagerMode.Host;
|
||||||
|
|
||||||
|
// Redirect to FinishStartHost to do all the proper setup for host mode
|
||||||
|
// Exit here after that's completed, instead of proceeding as a remote client.
|
||||||
FinishStartHost();
|
FinishStartHost();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user