function onAnswerYesToDialog($login) { $this->gui->removeDemoReadyDialog($login); $this->setPlayerReady($login); }