Ejemplo n.º 1
0
 protected function setPlayerNotReady($login)
 {
     $player = Services\PlayerInfo::Get($login);
     $player->setReady(false);
     $this->setNotReadyLabel($login);
     $this->updatePlayerList = true;
     try {
         $this->connection->forceSpectator($login, 1);
     } catch (\Exception $e) {
         //Do nothing
         //Maybe log because it's strange :)
     }
     $this->gui->showWaitingScreen($login);
 }