small fix
This commit is contained in:
parent
cef598cd3e
commit
a703011cd5
@ -212,7 +212,6 @@ class PlayerDetailed {
|
|||||||
$frame = new Frame();
|
$frame = new Frame();
|
||||||
|
|
||||||
$playerStats = $this->maniaControl->statisticManager->getAllPlayerStats($player);
|
$playerStats = $this->maniaControl->statisticManager->getAllPlayerStats($player);
|
||||||
|
|
||||||
$y = $this->height / 2 - 15;
|
$y = $this->height / 2 - 15;
|
||||||
$x = -$this->width / 2 + 52;
|
$x = -$this->width / 2 + 52;
|
||||||
$id = 1;
|
$id = 1;
|
||||||
@ -221,7 +220,7 @@ class PlayerDetailed {
|
|||||||
$statProperties = $stat[0];
|
$statProperties = $stat[0];
|
||||||
$value = $stat[1];
|
$value = $stat[1];
|
||||||
|
|
||||||
if ((int)$value == 0) {
|
if (floatval($value) == 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user