Remove redundant type specs

This commit is contained in:
Bartłomiej Dach
2022-12-26 23:12:53 +01:00
parent 335cb0205f
commit cb2b0d4178
2 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@ namespace osu.Game.Online.API.Requests.Responses
[JsonProperty(@"playstyle")]
private string[] playStyle
{
set => PlayStyles = value?.Select(str => Enum.Parse<APIPlayStyle>(str, true)).Cast<APIPlayStyle>().ToArray();
set => PlayStyles = value?.Select(str => Enum.Parse<APIPlayStyle>(str, true)).ToArray();
}
public APIPlayStyle[] PlayStyles;