small fix

This commit is contained in:
kremsy 2014-01-29 22:50:04 +01:00 committed by Steffen Schröder
parent cef598cd3e
commit a703011cd5

View File

@ -212,16 +212,15 @@ class PlayerDetailed {
$frame = new Frame();
$playerStats = $this->maniaControl->statisticManager->getAllPlayerStats($player);
$y = $this->height / 2 - 15;
$x = -$this->width / 2 + 52;
$id = 1;
$y = $this->height / 2 - 15;
$x = -$this->width / 2 + 52;
$id = 1;
foreach($playerStats as $stat) {
$statProperties = $stat[0];
$value = $stat[1];
if ((int)$value == 0) {
if (floatval($value) == 0) {
continue;
}