]> Dogcows Code - chaz/carfire/commitdiff
cleaned up some comments I was making during testing
authorbrady <brady@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Mon, 29 Mar 2010 06:57:46 +0000 (06:57 +0000)
committerbrady <brady@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Mon, 29 Mar 2010 06:57:46 +0000 (06:57 +0000)
git-svn-id: https://bd85.net/svn/cs3505_group@36 92bb83a3-7c8f-8a45-bc97-515c4e399668

Project06/CS 3505 Project 06/CS 3505 Project 06/NetworkGame.cs

index 2265329d31dc76b6aa60b32dcfd9d1535e64da6e..72a588cf62f6fcbab846b40794fd387dbf529a52 100644 (file)
@@ -244,18 +244,12 @@ namespace CS_3505_Project_06
                 }\r
                 else if (mNetworkSession.SessionState == NetworkSessionState.Playing)\r
                 {\r
-                    //TODO reset needs to be called for all players, currently LocalGamerInfo throughs exception for all nonhosts\r
-                    //     because in start game reset is only called on hosts games thus other clients never get an updated list\r
-                    //     gamers.\r
-\r
-\r
-//thoughs exeption see TODO above\r
-                    //if (mGame.IsGameOver(LocalGamerInfo) || mGame.IsTerminated(LocalGamerInfo))\r
-                    //{\r
-                    //    // TODO: Should support moving back to the session lobby.\r
-                    //    LeaveSession();\r
-                    //    return;\r
-                    //}\r
+                    if (mGame.IsGameOver(LocalGamerInfo) || mGame.IsTerminated(LocalGamerInfo))\r
+                    {\r
+                        // TODO: Should support moving back to the session lobby.\r
+                        LeaveSession();\r
+                        return;\r
+                    }\r
 \r
                     if (HaveNeededEvents)\r
                     {\r
This page took 0.02493 seconds and 4 git commands to generate.