mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-20 01:08:55 +00:00
Use non-unicode artist and title
This commit is contained in:
parent
a79f41a0a7
commit
109a013fbf
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue