Changeset 8485 for code/trunk/data
- Timestamp:
- May 14, 2011, 5:44:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/gui/scripts/SheetManager.lua
r8484 r8485 216 216 function keyESC() 217 217 -- HUGE, very HUGE hacks! 218 219 -- Count the number of sheets that don't need input till the first that does.220 local counter = noInputSheetIndex()221 218 222 219 -- If the InGameConsole is active, ignore the ESC command. 223 220 if bInGameConsoleClosed == true then 224 221 bInGameConsoleClosed = false 225 if counter > 0then222 if activeMenuSheets[1].sheet.name == "MainMenu" then 226 223 return 227 224 end 228 225 end 226 227 -- Count the number of sheets that don't need input till the first that does. 228 local counter = noInputSheetIndex() 229 229 230 230 -- If the first sheet that needs input is the MainMenu.
Note: See TracChangeset
for help on using the changeset viewer.