match settings manager

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

No files matched your search

+1 -1
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();