Skip to content

Commit

Permalink
Fix highscores skills for servers that use player_skills table
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Oct 11, 2024
1 parent f7c9a67 commit 3100faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/pages/highscores.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
$query
->join('player_skills', 'player_skills.player_id', '=', 'players.id')
->where('skillid', $skill)
->addSelect('player_skills.skillid as value');
->addSelect('player_skills.value as value');
}
} else if ($skill == SKILL_FRAGS) // frags
{
Expand Down

0 comments on commit 3100faa

Please sign in to comment.