fix(NetworkManager): FinishStartHost-Don't force localhost (#3759)

This commit is contained in:
MrGadget 2024-02-01 12:06:28 -05:00
parent c17ebbc0f4
commit e5dbf0dcda

View File

@ -586,8 +586,6 @@ void FinishStartHost()
// client will do things before the server is even fully started. // client will do things before the server is even fully started.
//Debug.Log("StartHostClient called"); //Debug.Log("StartHostClient called");
SetupClient(); SetupClient();
networkAddress = "localhost";
RegisterClientMessages(); RegisterClientMessages();
// InvokeOnConnected needs to be called AFTER RegisterClientMessages // InvokeOnConnected needs to be called AFTER RegisterClientMessages