Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6721


Ignore:
Timestamp:
Apr 13, 2010, 5:58:55 PM (14 years ago)
Author:
rgrieder
Message:

Fixed cross hair showing in in game menu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamestates2/data/gui/scripts/InitialiseGUI.lua

    r6718 r6721  
    9595    end
    9696
     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
    97103    -- Hide if already displayed (to make sure it is up front in the end)
    98104    if activeMenuSheets[name] ~= nil then
     
    117123    -- Add sheet to the root window
    118124    root:addChildWindow(menuSheet.window)
    119 
    120     -- Pause game control if this is the first menu to be displayed
    121     -- HUGE HACK?
    122     if activeMenuSheets.size == 0 then
    123         orxonox.HumanController:pauseControl()
    124     end
    125125
    126126    -- Handle input distribution
Note: See TracChangeset for help on using the changeset viewer.