NetworkManager - Added comments to StartClient

This commit is contained in:
MrGadget1024 2023-11-24 18:29:42 -05:00
parent d8f06b2922
commit 0a6942497a

View File

@ -413,6 +413,9 @@ public void StartClient()
if (mode == NetworkManagerMode.ServerOnly)
{
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();
return;
}