Changeset 2854 for code/branches/gui/src/orxonox/gamestates/GSGraphics.cc
- Timestamp:
- Mar 26, 2009, 4:33:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/gamestates/GSGraphics.cc
r2850 r2854 143 143 void GSGraphics::update(const Clock& time) 144 144 { 145 if (this->getActivity().topState) 146 { 147 // This state can not 'survive' on its own. 148 // Load a user interface therefore 149 Game::getInstance().requestState("mainMenu"); 150 } 151 145 152 uint64_t timeBeforeTick = time.getRealMicroseconds(); 146 153
Note: See TracChangeset
for help on using the changeset viewer.