From: brady Date: Thu, 18 Mar 2010 18:10:17 +0000 (+0000) Subject: git-svn-id: https://bd85.net/svn/cs3505_group@8 92bb83a3-7c8f-8a45-bc97-515c4e399668 X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=e1c3b65a54f1a805293861d742f8fee760b5520a;p=chaz%2Fcarfire git-svn-id: https://bd85.net/svn/cs3505_group@8 92bb83a3-7c8f-8a45-bc97-515c4e399668 --- diff --git a/Project06/lobbyTest/lobbyTest/LobbyGUI.cs b/Project06/lobbyTest/lobbyTest/LobbyGUI.cs index 046fa78..288a621 100644 --- a/Project06/lobbyTest/lobbyTest/LobbyGUI.cs +++ b/Project06/lobbyTest/lobbyTest/LobbyGUI.cs @@ -118,6 +118,8 @@ namespace lobbyTest } break; case lobbyState.CreateGame: + if (currentKeyboardState.IsKeyDown(Keys.X) && previousKeyboardState.IsKeyUp(Keys.X)) + currentState = lobbyState.Welcome; break; case lobbyState.FindGame: @@ -126,6 +128,8 @@ namespace lobbyTest break; case lobbyState.Connected: + if (currentKeyboardState.IsKeyDown(Keys.X) && previousKeyboardState.IsKeyUp(Keys.X)) + currentState = lobbyState.Welcome; break;