From: Charles Date: Sat, 3 Apr 2010 03:00:34 +0000 (+0000) Subject: fixed bug where the 'push b to begin' message wasn't displaying for the host at the... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=775a5b88d6eca31edc79446cd43c2ae292197931;p=chaz%2Fcarfire fixed bug where the 'push b to begin' message wasn't displaying for the host at the proper time git-svn-id: https://bd85.net/svn/cs3505_group@52 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 74bc9a7..8f45156 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 @@ -446,7 +446,7 @@ namespace CS_3505_Project_06 case lobbyState.Connected: DrawPlayerList(spriteBatch); DrawChatInfo(spriteBatch); - if(allReady && players.Count == 2 && localPlayer == players[0]) + if(allReady && players.Count == 4 && localPlayer == players[0]) spriteBatch.DrawString(menuFont, "Press B to begin game!", new Vector2(MaxX / 2, MaxY / 2), Color.White, 0f, zero, .7f, SpriteEffects.None, 0.5f); else if(allReady) spriteBatch.DrawString(menuFont, "The game will begin soon.", new Vector2(MaxX / 2, MaxY / 2), Color.White, 0f, zero, .7f, SpriteEffects.None, 0.5f);