mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-28 06:06:51 +01:00
Add lookmount into getTopPlayers
This commit is contained in:
@@ -1146,6 +1146,10 @@ function getTopPlayers($limit = 5, $skill = 'level') {
|
|||||||
$columns[] = 'lookaddons';
|
$columns[] = 'lookaddons';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($db->hasColumn('players', 'lookmount')) {
|
||||||
|
$columns[] = 'lookmount';
|
||||||
|
}
|
||||||
|
|
||||||
return Player::query()
|
return Player::query()
|
||||||
->select($columns)
|
->select($columns)
|
||||||
->withOnlineStatus()
|
->withOnlineStatus()
|
||||||
|
|||||||
Reference in New Issue
Block a user