This commit is contained in:
kremsy 2014-07-08 21:56:07 +02:00
parent 7c7775e041
commit ead8b7bbc8

View File

@ -372,7 +372,7 @@ class QueuePlugin implements CallbackListener, ManialinkPageAnswerListener, Time
} }
try { try {
if ($smallestTeam != -1) { if ($smallestTeam) {
$this->maniaControl->client->forcePlayerTeam($player->login, $smallestTeam); $this->maniaControl->client->forcePlayerTeam($player->login, $smallestTeam);
} }
} catch (Exception $e) { } catch (Exception $e) {