match settings manager

This commit is contained in:
Steffen Schröder
2014-05-11 15:28:53 +02:00
parent 52be0fab10
commit 0834d2c587
11 changed files with 154 additions and 82 deletions

View File

@ -326,7 +326,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener, Timer
$playerQuad->addTooltipLabelFeature($descriptionLabel, $description);
}
if ($this->maniaControl->server->isTeamMode()) {
if ($this->maniaControl->server->matchSettingsManager->isTeamMode()) {
if ($this->maniaControl->authenticationManager->checkPermission($player, PlayerActions::SETTING_PERMISSION_FORCE_PLAYER_TEAM)) {
// Force to Red-Team Quad
$redQuad = new Quad_Emblems();