mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-05-05 13:49:21 +02:00
Fix highscores (OTHire compatibility) (#331)
- Fixed showing outfit in highscores.
This commit is contained in:
parent
2817010781
commit
01422f4815
@ -908,7 +908,10 @@ function user_character_list_count($account_id) {
|
||||
|
||||
// HIGHSCORE FUNCTIONS \\
|
||||
function fetchAllScores($rows, $tfs, $g, $vlist, $v = -1, $flags = false, $outfits = false) {
|
||||
if (config('ServerEngine') !== 'OTHIRE')
|
||||
$outfits = ($outfits) ? ", `p`.`lookbody` AS `body`, `p`.`lookfeet` AS `feet`, `p`.`lookhead` AS `head`, `p`.`looklegs` AS `legs`, `p`.`looktype` AS `type`, `p`.`lookaddons` AS `addons`" : "";
|
||||
else
|
||||
$outfits = ($outfits) ? ", `p`.`lookbody` AS `body`, `p`.`lookfeet` AS `feet`, `p`.`lookhead` AS `head`, `p`.`looklegs` AS `legs`, `p`.`looktype` AS `type`" : "";
|
||||
// Return scores ordered by type and vocation (if set)
|
||||
$data = array();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user