diff --git a/last_stats.php b/last_stats.php index a0d6fa9..38577dc 100644 --- a/last_stats.php +++ b/last_stats.php @@ -43,6 +43,9 @@ error_reporting(E_ALL); if (!isset($player_data['playername']) || is_null($player_data['playername'])) { continue; // Skip this iteration and move to the next } + if($player_data['matches'] == 0){ + continue; + } $player_name = $player_data['playername']; $deaths = number_format($player_data['deaths'], 2, ',', ''); $kills = number_format($player_data['kills'], 2, ',', '');