Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2011, 9:42:29 PM (13 years ago)
Author:
dafrick
Message:

Fixing bug in SheetManager.lua

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/data/gui/scripts/SheetManager.lua

    r8485 r8581  
    220220    if bInGameConsoleClosed == true then
    221221        bInGameConsoleClosed = false
    222         if activeMenuSheets[1].sheet.name == "MainMenu" then
     222        if activeMenuSheets.size > 0 and activeMenuSheets[1].sheet.name == "MainMenu" then
    223223            return
    224224        end
Note: See TracChangeset for help on using the changeset viewer.