Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 20, 2017, 4:48:03 PM (6 years ago)
Author:
kohlia
Message:

Near object, near point and at area work!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ScriptableController_HS17/src/orxonox/Level.cc

    r11562 r11583  
    172172    {
    173173        this->objects_.push_back(object);
    174         object->registerToScriptableController(this->controller_.get());
    175174    }
    176175
     
    208207        orxout(internal_info) << "player entered level (id: " << player->getClientID() << ", name: " << player->getName() << ')' << endl;
    209208        player->switchGametype(this->getGametype());
    210 
    211         if(player->isHumanPlayer() && player->isLocalPlayer())
    212         {
    213             this->getScriptableController()->setPlayer(player);
    214             this->controller_->runScript(this->level_script_);
    215         }
    216209    }
    217210
Note: See TracChangeset for help on using the changeset viewer.