Removed a print and added Server to connections

This commit is contained in:
Sofia 2017-11-22 23:02:12 +02:00
parent 650493f74e
commit 8af4a05cbb
2 changed files with 1 additions and 1 deletions

View File

@ -22,6 +22,7 @@ namespace Network {
GD.print("Starting to send stuff to " + address + ":" + port); GD.print("Starting to send stuff to " + address + ":" + port);
ServerConn = new Connection(address, port); ServerConn = new Connection(address, port);
ServerConn.Name = "Server"; ServerConn.Name = "Server";
ConnectionList.AddConnection(ServerConn);
StartListening(port, "*"); StartListening(port, "*");
} }

View File

@ -75,7 +75,6 @@ namespace Network {
break; break;
} }
} }
GD.print("Wow nice");
if (Confirmed) { if (Confirmed) {
Connection conn = new Connection(Address, Port); Connection conn = new Connection(Address, Port);
Singleton.ConnectionList.AddConnection(conn); Singleton.ConnectionList.AddConnection(conn);