Changeset 6721 for code/branches/gamestates2/data/gui/scripts
- Timestamp:
- Apr 13, 2010, 5:58:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamestates2/data/gui/scripts/InitialiseGUI.lua
r6718 r6721 95 95 end 96 96 97 -- Pause game control if this is the first menu to be displayed 98 -- HUGE HACK? 99 if activeMenuSheets.size == 0 then 100 orxonox.HumanController:pauseControl() 101 end 102 97 103 -- Hide if already displayed (to make sure it is up front in the end) 98 104 if activeMenuSheets[name] ~= nil then … … 117 123 -- Add sheet to the root window 118 124 root:addChildWindow(menuSheet.window) 119 120 -- Pause game control if this is the first menu to be displayed121 -- HUGE HACK?122 if activeMenuSheets.size == 0 then123 orxonox.HumanController:pauseControl()124 end125 125 126 126 -- Handle input distribution
Note: See TracChangeset
for help on using the changeset viewer.