From 4e7638512503342a26e131896103c1f28d726dab Mon Sep 17 00:00:00 2001 From: brady Date: Sat, 20 Mar 2010 09:53:42 +0000 Subject: [PATCH] testing git-svn-id: https://bd85.net/svn/cs3505_group@19 92bb83a3-7c8f-8a45-bc97-515c4e399668 --- Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs | 3 +++ Project06/CS 3505 Project 06/CS 3505 Project 06/NetworkGame.cs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs b/Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs index e26d5e5..31ce27b 100644 --- a/Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs +++ b/Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs @@ -185,6 +185,9 @@ namespace CS_3505_Project_06 { networkGame.JoinSession(availableSessions[0]); currentState = lobbyState.Connected; + + availableSessions.Dispose(); + availableSessions = null; } break; diff --git a/Project06/CS 3505 Project 06/CS 3505 Project 06/NetworkGame.cs b/Project06/CS 3505 Project 06/CS 3505 Project 06/NetworkGame.cs index b273932..283979b 100644 --- a/Project06/CS 3505 Project 06/CS 3505 Project 06/NetworkGame.cs +++ b/Project06/CS 3505 Project 06/CS 3505 Project 06/NetworkGame.cs @@ -73,7 +73,7 @@ namespace CS_3505_Project_06 { get { - return mNetworkSession.LocalGamers; + return mNetworkSession.AllGamers; } } -- 2.45.2