mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +02:00
Fix highscores skills for servers that use player_skills table
This commit is contained in:
parent
f7c9a67a96
commit
3100faa645
@ -175,7 +175,7 @@ if (empty($highscores)) {
|
|||||||
$query
|
$query
|
||||||
->join('player_skills', 'player_skills.player_id', '=', 'players.id')
|
->join('player_skills', 'player_skills.player_id', '=', 'players.id')
|
||||||
->where('skillid', $skill)
|
->where('skillid', $skill)
|
||||||
->addSelect('player_skills.skillid as value');
|
->addSelect('player_skills.value as value');
|
||||||
}
|
}
|
||||||
} else if ($skill == SKILL_FRAGS) // frags
|
} else if ($skill == SKILL_FRAGS) // frags
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user