Changeset 8015 for code/branches/tutorial/data/gui
- Timestamp:
- Mar 3, 2011, 4:33:13 PM (14 years ago)
- Location:
- code/branches/tutorial
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tutorial
- Property svn:mergeinfo changed
/code/branches/usability (added) merged: 8013
- Property svn:mergeinfo changed
-
code/branches/tutorial/data/gui/scripts/SheetManager.lua
r7985 r8015 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.