Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 4, 2014, 11:20:26 PM (10 years ago)
Author:
jo
Message:

Adding delay timer to show the main menu after a game ended automatically.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/gametypes/Gametype.cc

    r9977 r9980  
    155155        this->gtinfo_->end();
    156156        if (this->bAutoEnd_)
    157         {
    158             GSLevel::startMainMenu();
    159             //this->showMenuTimer_.setTimer(2.5f, true, createExecutor(createFunctor(&Gametype::showMenu, this)));
     157        {
     158            this->showMenuTimer_.setTimer(3.0f, true, createExecutor(createFunctor(&Gametype::showMenu, this)));
    160159        }
    161160
Note: See TracChangeset for help on using the changeset viewer.