Changeset 7985 for code/branches/usability/data
- Timestamp:
- Feb 27, 2011, 8:09:59 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/usability/data/gui/scripts/SheetManager.lua
r7928 r7985 5 5 local activeMenuSheets = {size = 0, topSheetTuple = nil} 6 6 local menuSheetsRoot = guiMgr:getMenuRootWindow() 7 local bInGameConsole Closed= false7 local bInGameConsoleOpen = 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 bInGameConsoleClosed == true then 224 bInGameConsoleClosed = false 223 if bInGameConsoleOpen then 225 224 return 226 225 end … … 279 278 end 280 279 280 function inGameConsoleOpened() 281 bInGameConsoleOpen = true 282 end 283 281 284 function inGameConsoleClosed() 282 bInGameConsole Closed = not bInGameConsoleClosed;285 bInGameConsoleOpen = false 283 286 end 284 287
Note: See TracChangeset
for help on using the changeset viewer.