Changeset 6214 for code/branches/presentation2/data/gui
- Timestamp:
- Dec 2, 2009, 8:41:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/gui/scripts/InitialiseGUI.lua
r6199 r6214 55 55 function showGUI(filename, hidePrevious, bCursorVisible) 56 56 if bCursorVisible == nil then 57 bCursorVisible = true 57 if nrOfActiveSheets > 0 then 58 bCursorVisible = cursorVisibility[nrOfActiveSheets] 59 else 60 bCursorVisible = true 61 end 58 62 end 59 63 … … 170 174 171 175 function keyESC() 172 if nrOfActiveSheets > 0 then 176 if nrOfActiveSheets == 1 and activeSheets[1] == "MainMenu" then 177 orxonox.CommandExecutor:execute("exit") 178 elseif nrOfActiveSheets > 0 then 173 179 orxonox.CommandExecutor:execute("hideGUI "..activeSheets[nrOfActiveSheets]) 174 180 else
Note: See TracChangeset
for help on using the changeset viewer.