mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Enforce expression body for typical simple ones.
This commit is contained in:
@ -129,7 +129,7 @@ namespace osu.Game.Users
|
||||
[JsonProperty]
|
||||
private string[] playstyle
|
||||
{
|
||||
set { PlayStyles = value?.Select(str => Enum.Parse(typeof(PlayStyle), str, true)).Cast<PlayStyle>().ToArray(); }
|
||||
set => PlayStyles = value?.Select(str => Enum.Parse(typeof(PlayStyle), str, true)).Cast<PlayStyle>().ToArray();
|
||||
}
|
||||
|
||||
public PlayStyle[] PlayStyles;
|
||||
|
Reference in New Issue
Block a user