MatchMakingLobby/Match/Plugin.php
protected function end()
	{
		\ManiaLive\Utilities\Logger::debug('end()');

		$this->showTansfertLabel(null, -50);
		foreach($this->storage->players as $player)
		{
			try
			{
				$this->connection->sendOpenLink((string) $player->login, '#qjoin='.$this->lobby->backLink, 1);
			}
			catch (\DedicatedApi\Xmlrpc\Exception $e)
			{
				//do nothing
			}
		}
		$this->connection->cleanGuestList();

		$this->match = null;
		$this->matchId = null;
		$this->matchMakingService->updateServerCurrentMatchId(
			null,
			$this->storage->serverLogin,
			$this->scriptName,
			$this->titleIdString
		);
		$this->connection->setForcedTeams(false);
		$this->sleep();
	}
protected function end()
	{
		\ManiaLive\Utilities\Logger::debug('end()');

		$this->showTansfertLabel(null, -50);
		foreach($this->storage->players as $player)
		{
			try
			{
				$this->connection->sendOpenLink((string) $player->login, '#qjoin='.$this->lobby->backLink, 1);
			}
			catch (\DedicatedApi\Xmlrpc\Exception $e)
			{
				//do nothing
			}
		}
		$this->connection->cleanGuestList();

		$this->match = null;
		$this->matchId = null;
		$this->matchMakingService->updateServerCurrentMatchId(
			null,
			$this->storage->serverLogin,
			$this->scriptName,
			$this->titleIdString
		);
		$this->connection->setForcedTeams(false);
		$this->sleep();
	}
protected function end ( ) { \ ManiaLive \ Utilities \ Logger :: debug ( 'end()' ) ; $ this -> showTansfertLabel ( null , - 50 ) ; foreach ( $ this -> storage -> players as $ player ) { try { $ this -> connection -> sendOpenLink ( ( string ) $ player -> login , '#qjoin=' . $ this -> lobby -> backLink , 1 ) ; } catch ( \ DedicatedApi \ Xmlrpc \ Exception $ e ) { //do nothing
 } } $ this -> connection -> cleanGuestList ( ) ; $ this -> match = null ; $ this -> matchId = null ; $ this -> matchMakingService -> updateServerCurrentMatchId ( null , $ this -> storage -> serverLogin , $ this -> scriptName , $ this -> titleIdString ) ; $ this -> connection -> setForcedTeams ( false ) ; $ this -> sleep ( ) ; }
Free the match for the lobby
Free the match for the lobby