Changeset 5966 for code/trunk/src/orxonox/gamestates
- Timestamp:
- Oct 19, 2009, 8:25:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/gamestates/GSLevel.cc
r5929 r5966 117 117 if (GameMode::showsGraphics()) 118 118 { 119 // disconnect the HumanPlayer120 PlayerManager::getInstance().clientDisconnected(0);121 122 119 // unload all compositors (this is only necessary because we don't yet destroy all resources!) 123 120 Ogre::CompositorManager::getSingleton().removeAll(); … … 125 122 InputManager::getInstance().leaveState("game"); 126 123 } 124 125 // disconnect all HumanPlayers 126 PlayerManager::getInstance().disconnectAllClients(); 127 127 128 128 if (GameMode::isMaster())
Note: See TracChangeset
for help on using the changeset viewer.