From e1c3b65a54f1a805293861d742f8fee760b5520a Mon Sep 17 00:00:00 2001 From: brady Date: Thu, 18 Mar 2010 18:10:17 +0000 Subject: [PATCH] git-svn-id: https://bd85.net/svn/cs3505_group@8 92bb83a3-7c8f-8a45-bc97-515c4e399668 --- Project06/lobbyTest/lobbyTest/LobbyGUI.cs | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.45.2