diff --git a/class.php b/class.php index 35191e2..1586bab 100644 --- a/class.php +++ b/class.php @@ -45,7 +45,7 @@ class ps4 { echo '
'; if ($row["game_end"] == "") { - echo ""; + echo "now playing"; } else { echo $this->secondsToDate($row["game_end"]); } @@ -53,7 +53,7 @@ class ps4 { echo '
'; if ($row["game_end"] == "") { - echo "now playing"; + echo $this->playtime(((round(microtime(true) * 1000)-$row["game_start"])/1000),true); } else { echo $this->playtime((($row["game_end"]-$row["game_start"])/1000),true); }