]> Dogcows Code - chaz/carfire/blobdiff - Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs
testing
[chaz/carfire] / Project06 / CS 3505 Project 06 / CS 3505 Project 06 / LobbyGUI.cs
index e26d5e56d23b83fe91545bad981420ad0a7e3f80..d8fa910913ea33ce81f8521036ced1e35900f052 100644 (file)
@@ -54,7 +54,7 @@ namespace CS_3505_Project_06
         KeyboardState previousKeyboardState;\r
         KeyboardState currentKeyboardState;\r
 \r
-        GamerCollection<LocalNetworkGamer> players;\r
+        GamerCollection<NetworkGamer> players;\r
         AvailableNetworkSessionCollection availableSessions;\r
 \r
         int selectedSessionIndex;\r
@@ -185,6 +185,9 @@ namespace CS_3505_Project_06
                     {\r
                         networkGame.JoinSession(availableSessions[0]);\r
                         currentState = lobbyState.Connected;\r
+\r
+                        availableSessions.Dispose();\r
+                        availableSessions = null;\r
                     }\r
                     break;\r
 \r
This page took 0.021885 seconds and 4 git commands to generate.