Use non-unicode artist and title

This commit is contained in:
Natsu Kagami 2024-02-14 00:47:45 +01:00
parent a79f41a0a7
commit 109a013fbf
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -40,8 +40,8 @@ impl Beatmap {
last_update: last_updated, last_update: last_updated,
download_available: !set.availability.download_disabled, // don't think we have this stat download_available: !set.availability.download_disabled, // don't think we have this stat
audio_available: !set.availability.download_disabled, // neither is this audio_available: !set.availability.download_disabled, // neither is this
artist: set.artist_unicode.as_ref().unwrap_or(&set.artist).clone(), artist: set.artist.clone(),
title: set.title_unicode.as_ref().unwrap_or(&set.title).clone(), title: set.title.clone(),
beatmapset_id: set.mapset_id as u64, beatmapset_id: set.mapset_id as u64,
creator: set.creator_name.clone().into_string(), creator: set.creator_name.clone().into_string(),
creator_id: set.creator_id as u64, creator_id: set.creator_id as u64,