浏览代码

Update Network.hx (#318)

Mark Knol 7 年之前
父节点
当前提交
f62ae28d13
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      samples/Network.hx

+ 1 - 4
samples/Network.hx

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