Add osu! genre Folk (13)

This commit is contained in:
Natsu Kagami 2020-06-18 13:55:25 -04:00
parent 4a0c596ea5
commit 2a1270f280
Signed by: nki
GPG key ID: 73376E117CD20735
2 changed files with 2 additions and 0 deletions

View file

@ -130,6 +130,7 @@ pub enum Genre {
Novelty,
HipHop,
Electronic,
Folk,
}
impl fmt::Display for Genre {

View file

@ -218,6 +218,7 @@ fn parse_genre(s: impl AsRef<str>) -> ParseResult<Genre> {
7 => Novelty,
9 => HipHop,
10 => Electronic,
13 => Folk,
_ => {
return Err(ParseError::InvalidValue {
field: "genre",