revert match settings manager (nevermind)

This commit is contained in:
Steffen Schröder
2014-05-11 16:02:29 +02:00
parent 0834d2c587
commit f9df0fc325
10 changed files with 67 additions and 136 deletions

View File

@ -122,7 +122,7 @@ class PlayerManager implements CallbackListener, TimerListener {
//Check if the Player is in a Team, to notify if its a TeamMode or not
if ($playerItem->teamId != -1) {
$this->maniaControl->server->matchSettingsManager->setTeamMode(true);
$this->maniaControl->server->setTeamMode(true);
}
$player = new Player($this->maniaControl, true);
@ -321,7 +321,7 @@ class PlayerManager implements CallbackListener, TimerListener {
//Check if the Player is in a Team, to notify if its a TeamMode or not
if ($player->teamId != -1) {
$this->maniaControl->server->matchSettingsManager->setTeamMode(true);
$this->maniaControl->server->setTeamMode(true);
}
$prevJoinState = $player->hasJoinedGame;