fixed a bug when over 60 hours played.
This commit is contained in:
@@ -49,8 +49,7 @@ class ps4 {
|
|||||||
}
|
}
|
||||||
if ($seconds/60 > 1) { $label .= "s"; }
|
if ($seconds/60 > 1) { $label .= "s"; }
|
||||||
$playtime = round($seconds/60,2);
|
$playtime = round($seconds/60,2);
|
||||||
} else
|
} else {
|
||||||
if ($seconds/60/60 < 60) {
|
|
||||||
if ($text == true) {
|
if ($text == true) {
|
||||||
$label = "hour";
|
$label = "hour";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user