Removed a print and added Server to connections
This commit is contained in:
parent
650493f74e
commit
8af4a05cbb
@ -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, "*");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user