From 775a5b88d6eca31edc79446cd43c2ae292197931 Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 3 Apr 2010 03:00:34 +0000 Subject: [PATCH] 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 --- Project06/CS 3505 Project 06/CS 3505 Project 06/LobbyGUI.cs | 2 +- 1 file changed, 1 insertion(+), 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 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); -- 2.43.0