From: brady Date: Sat, 20 Mar 2010 09:53:42 +0000 (+0000) Subject: testing X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=4e7638512503342a26e131896103c1f28d726dab;p=chaz%2Fcarfire testing git-svn-id: https://bd85.net/svn/cs3505_group@19 92bb83a3-7c8f-8a45-bc97-515c4e399668 --- 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; } }