resolved some todos

This commit is contained in:
kremsy
2014-01-31 14:48:24 +01:00
committed by Steffen Schröder
parent 2b3dd3ec7f
commit 8fede6f508
3 changed files with 5 additions and 12 deletions

View File

@ -190,12 +190,12 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener, Timer
$specQuad->setSize(3.8, 3.8);
}
if (!$listPlayer->isFakePlayer()) {
$countryCode = Formatter::mapCountry($listPlayer->getCountry());
if ($countryCode != 'OTH') {
// Nation Quad
$countryQuad = new Quad();
$playerFrame->add($countryQuad);
$countryCode = Formatter::mapCountry($listPlayer->getCountry());
//TODO fix on other
$countryQuad->setImage("file://Skins/Avatars/Flags/{$countryCode}.dds");
$countryQuad->setX($x + 98);
$countryQuad->setSize(4, 4);