diff --git a/TicTacToe.csproj b/TicTacToe.csproj index 70aceb9..f4afb39 100644 --- a/TicTacToe.csproj +++ b/TicTacToe.csproj @@ -65,6 +65,7 @@ + diff --git a/scripts/net/Client.cs b/scripts/net/Client.cs index 9342e5d..d8524bc 100644 --- a/scripts/net/Client.cs +++ b/scripts/net/Client.cs @@ -38,5 +38,8 @@ namespace Network { GD.print("Connected to " + conn.Name + " at " + conn.Address + ":" + conn.Port); PacketDistributor.AddHandler(ServerConn); } + + public override void Disconnected(Connection conn) { + } } } \ No newline at end of file diff --git a/scripts/net/Server.cs b/scripts/net/Server.cs index 9e8893e..fc15b9a 100644 --- a/scripts/net/Server.cs +++ b/scripts/net/Server.cs @@ -31,5 +31,8 @@ namespace Network { public override void Connected(Connection conn) { GD.print("Someone connected at " + conn.Address + ":" + conn.Port); } + + public override void Disconnected(Connection conn) { + } } } \ No newline at end of file