removed player location in playerlist on bots
This commit is contained in:
parent
b56ad5682c
commit
b7b327a00b
@ -171,6 +171,8 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//Display country quad only on normal players
|
||||||
|
if(!$listPlayer->isFakePlayer()){
|
||||||
//Nation Quad
|
//Nation Quad
|
||||||
$countryQuad = new Quad();
|
$countryQuad = new Quad();
|
||||||
$playerFrame->add($countryQuad);
|
$playerFrame->add($countryQuad);
|
||||||
@ -190,6 +192,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener {
|
|||||||
$descriptionLabel->setVisible(false);
|
$descriptionLabel->setVisible(false);
|
||||||
$descriptionLabel->setText($listPlayer->nickname . " from " . $listPlayer->path);
|
$descriptionLabel->setText($listPlayer->nickname . " from " . $listPlayer->path);
|
||||||
$tooltips->add($countryQuad, $descriptionLabel);
|
$tooltips->add($countryQuad, $descriptionLabel);
|
||||||
|
}
|
||||||
|
|
||||||
//Level Quad
|
//Level Quad
|
||||||
$rightQuad = new Quad_BgRaceScore2();
|
$rightQuad = new Quad_BgRaceScore2();
|
||||||
|
Loading…
Reference in New Issue
Block a user