using completed events language instead of current config

This commit is contained in:
Miodec 2022-06-16 11:12:04 +02:00
parent 64047a0057
commit 44d996fe6c

View file

@ -1628,7 +1628,7 @@ export async function finish(difficultyFailed = false): Promise<void> {
if (response.data.dailyLeaderboardRank) {
Notifications.add(
`New ${Config.language} ${completedEvent.mode} ${completedEvent.mode2} rank: ` +
`New ${completedEvent.language} ${completedEvent.mode} ${completedEvent.mode2} rank: ` +
Misc.getPositionString(response.data.dailyLeaderboardRank),
1,
10,