From bb60bfbf8355e931d0436ef2382a83380fe8efe1 Mon Sep 17 00:00:00 2001 From: Evil Puncker Date: Tue, 19 May 2020 18:01:41 -0300 Subject: [PATCH] Removed bomberman highscore function (#400) It doesn't seems to be used anywhere --- engine/function/users.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/engine/function/users.php b/engine/function/users.php index bdf0885..fdbdfa3 100644 --- a/engine/function/users.php +++ b/engine/function/users.php @@ -103,24 +103,6 @@ function fetchLatestDeaths_03($rowz = 30, $killers = false) { return $data; } -// Bomberman Highscores -function bomberman_highscores() { - // Fetch all players who have played bomberman more than 1 time: - $totalGames = getPlayerStorageList(5006, 1); - foreach ($totalGames as $game) { - $char = array(); - $data = user_character_data($game['player_id'], 'name'); - $char['name'] = $data['name']; - $char['wins'] = getPlayerStorage($game['player_id'], 5004); - $char['losses'] = getPlayerStorage($game['player_id'], 5005); - $char['frags'] = getPlayerStorage($game['player_id'], 5007); - $char['deaths'] = getPlayerStorage($game['player_id'], 5008); - $char['total_games'] = $game['value']; - $array[] = $char; - } - if (!empty($array)) {return $array; } else {return false;} -} - // Support list function support_list() { $TFS = Config('ServerEngine');