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,7 +212,6 @@ class PlayerDetailed {
$frame = new Frame();
$playerStats = $this->maniaControl->statisticManager->getAllPlayerStats($player);
$y = $this->height / 2 - 15;
$x = -$this->width / 2 + 52;
$id = 1;
@ -221,7 +220,7 @@ class PlayerDetailed {
$statProperties = $stat[0];
$value = $stat[1];
if ((int)$value == 0) {
if (floatval($value) == 0) {
continue;
}