[Orxonox-commit 3910] r8584 - code/branches/presentation/data/gui/scripts

dafrick at orxonox.net dafrick at orxonox.net
Wed May 25 23:02:51 CEST 2011


Author: dafrick
Date: 2011-05-25 23:02:50 +0200 (Wed, 25 May 2011)
New Revision: 8584

Modified:
   code/branches/presentation/data/gui/scripts/SheetManager.lua
Log:
Apparently this bug was already fixed by landauf in the trunk. So let's fix it here, the same way he did.


Modified: code/branches/presentation/data/gui/scripts/SheetManager.lua
===================================================================
--- code/branches/presentation/data/gui/scripts/SheetManager.lua	2011-05-25 20:52:36 UTC (rev 8583)
+++ code/branches/presentation/data/gui/scripts/SheetManager.lua	2011-05-25 21:02:50 UTC (rev 8584)
@@ -219,7 +219,7 @@
     -- If the InGameConsole is active, ignore the ESC command.
     if bInGameConsoleClosed == true then
         bInGameConsoleClosed = false
-        if activeMenuSheets.size > 0 and activeMenuSheets[1].sheet.name == "MainMenu" then
+        if activeMenuSheets[i] and activeMenuSheets[1].sheet.name == "MainMenu" then
             return
         end
     end




More information about the Orxonox-commit mailing list