From 6f4320ff758d4645029a78bea7e8e201e25b5fdc Mon Sep 17 00:00:00 2001 From: kremsy Date: Tue, 31 Dec 2013 17:15:32 +0100 Subject: [PATCH] fixed playerlist --- application/core/Players/PlayerList.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/core/Players/PlayerList.php b/application/core/Players/PlayerList.php index c31ddb26..4d619ae4 100644 --- a/application/core/Players/PlayerList.php +++ b/application/core/Players/PlayerList.php @@ -175,10 +175,10 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener { switch ($listPlayer->teamId) { case 0: - $teamQuad->setSubStyle($redQuad::SUBSTYLE_1); + $teamQuad->setSubStyle($teamQuad::SUBSTYLE_1); break; case 1: - $teamQuad->setSubStyle($redQuad::SUBSTYLE_2); + $teamQuad->setSubStyle($teamQuad::SUBSTYLE_2); break; } } @@ -188,7 +188,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener { $playerFrame->add($specQuad); $specQuad->setX($x + 10); $specQuad->setZ(0.1); - $specQuad->setSubStyle($neutralQuad::SUBSTYLE_Spectator); + $specQuad->setSubStyle($specQuad::SUBSTYLE_Spectator); $specQuad->setSize(3.8, 3.8); }