- Timestamp:
- Nov 20, 2017, 4:48:03 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ScriptableController_HS17/src/orxonox/infos/GametypeInfo.cc
r11099 r11583 43 43 #include "interfaces/GametypeMessageListener.h" 44 44 #include "interfaces/NotificationListener.h" 45 #include "scriptablecontroller/scriptable_controller.h" 46 #include "Level.h" 45 47 46 48 #include "PlayerInfo.h" … … 310 312 { 311 313 if(this->hasStarted() && !this->hasEnded()) 312 313 314 this->setSpawnedHelper(player, true); 315 } 316 317 if(player->isHumanPlayer() && player->isLocalPlayer()) 318 { 319 this->getLevel()->getScriptableController()->setPlayer(player); 320 this-getLevel()->getScriptableController()->runScript(this->getLevel()->getScript()); 314 321 } 315 322 }
Note: See TracChangeset
for help on using the changeset viewer.