changed zoneflag avatar reference

This commit is contained in:
kremsy
2014-04-13 11:50:07 +02:00
committed by Steffen Schröder
parent 78658f698b
commit 1e66d04649
2 changed files with 3 additions and 5 deletions

View File

@ -213,8 +213,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener, Timer
// Nation Quad
$countryQuad = new Quad();
$playerFrame->add($countryQuad);
$countryCode = Formatter::mapCountry($listPlayer->getCountry());
$countryQuad->setImage("file://Skins/Avatars/Flags/{$countryCode}.dds");
$countryQuad->setImage("file://ZoneFlags/Login/{$listPlayer->login}/country");
$countryQuad->setX($x + 98);
$countryQuad->setSize(4, 4);
$countryQuad->setZ(1);