Parcourir la source

Update Network.hx (#318)

Mark Knol il y a 7 ans
Parent
commit
f62ae28d13
1 fichiers modifiés avec 1 ajouts et 4 suppressions
  1. 1 4
      samples/Network.hx

+ 1 - 4
samples/Network.hx

@@ -116,9 +116,6 @@ class Network extends hxd.App {
 			log("Server Started");
 			log("Server Started");
 
 
 			start();
 			start();
-
-			// force a new window to open, which will connect the client
-			hxd.net.SocketHost.openNewWindow();
 		} catch( e : Dynamic ) {
 		} catch( e : Dynamic ) {
 
 
 			// we could not start the server
 			// we could not start the server
@@ -164,4 +161,4 @@ class Network extends hxd.App {
 		inst = new Network();
 		inst = new Network();
 	}
 	}
 
 
-}
+}