Changeset 8013 for code/branches/usability/data/gui/scripts
- Timestamp:
- Mar 3, 2011, 4:24:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/usability/data/gui/scripts/SheetManager.lua
r7985 r8013 5 5 local activeMenuSheets = {size = 0, topSheetTuple = nil} 6 6 local menuSheetsRoot = guiMgr:getMenuRootWindow() 7 local bInGameConsole Open= false7 local bInGameConsoleClosed = false 8 8 local mainMenuLoaded = false 9 9 orxonox.GUIManager:subscribeEventHelper(menuSheetsRoot, "KeyDown", "keyPressed") … … 221 221 222 222 -- If the InGameConsole is active, ignore the ESC command. 223 if bInGameConsoleOpen then 223 if bInGameConsoleClosed == true then 224 bInGameConsoleClosed = false 224 225 return 225 226 end … … 278 279 end 279 280 280 function inGameConsoleOpened()281 bInGameConsoleOpen = true282 end283 284 281 function inGameConsoleClosed() 285 bInGameConsole Open = false282 bInGameConsoleClosed = not bInGameConsoleClosed; 286 283 end 287 284
Note: See TracChangeset
for help on using the changeset viewer.