Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 27, 2011, 8:09:59 AM (14 years ago)
Author:
rgrieder
Message:

Fixed keyESC hack: after opening and closing the console, the first ESC keystroke was ignored.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/usability/src/orxonox/overlays/InGameConsole.cc

    r7689 r7985  
    513513            this->bActive_ = true;
    514514            InputManager::getInstance().enterState("console");
     515            GUIManager::getInstance().getLuaState()->doString("inGameConsoleOpened()"); // Notify the SheetManager in lua, that the console has been closed.
    515516            this->shell_->registerListener(this);
    516517
     
    611612    /*static*/ void InGameConsole::closeConsole()
    612613    {
    613         GUIManager::getInstance().getLuaState()->doString("inGameConsoleClosed()");  // Notify the SheetManager in lua, that the console has been closed, but not by ESC.
    614614        InGameConsole::getInstance().deactivate();
    615615    }
Note: See TracChangeset for help on using the changeset viewer.