Prechádzať zdrojové kódy

Player debugger will now use a random port to prevent reconnection issues if it gets stuck

Ivan Safrin 12 rokov pred
rodič
commit
4982827b67
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      Player/Contents/Source/PolycodePlayer.cpp

+ 1 - 1
Player/Contents/Source/PolycodePlayer.cpp

@@ -24,7 +24,7 @@ THE SOFTWARE.
 #include <string>
 
 PolycodeRemoteDebuggerClient::PolycodeRemoteDebuggerClient() : EventDispatcher() {
-	client = new Client(6445, 1);
+	client = new Client(0, 1);
 	client->Connect("127.0.0.1", 4630);	
 	client->addEventListener(this, ClientEvent::EVENT_SERVER_DISCONNECTED);
 }