diff --git a/scripts/HLstats_Game.pm b/scripts/HLstats_Game.pm index 32a2d96..cf6303d 100644 --- a/scripts/HLstats_Game.pm +++ b/scripts/HLstats_Game.pm @@ -92,7 +92,6 @@ sub getTotalPlayers WHERE game=? AND hideranking = 0 - AND kills >= 1 "; my $resultTotalPlayers = &::execCached("get_game_total_players", $query, &::quoteSQL($self->{game})); my ($totalplayers) = $resultTotalPlayers->fetchrow_array; diff --git a/web/pages/game.php b/web/pages/game.php index eb87044..9722398 100644 --- a/web/pages/game.php +++ b/web/pages/game.php @@ -60,6 +60,7 @@ For support and installation notes visit http://www.hlxcommunity.com hlstats_Players WHERE game='$game' + AND hideranking = 0 "; $result = $db->query($query); list($total_players) = $db->fetch_row($result);