mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Fix the comment
This commit is contained in:
parent
71c844facd
commit
72dbeaec16
@ -44,7 +44,7 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
{
|
||||
set
|
||||
{
|
||||
//We will receive something like "foo.bar" or just "foo"
|
||||
//We will receive something like "event.action" or just "action"
|
||||
string parsed = value.Contains(".") ? value.Split('.')[0].Pascalize() + value.Split('.')[1].Pascalize() : value.Pascalize();
|
||||
|
||||
Action = (KudosuAction)Enum.Parse(typeof(KudosuAction), parsed);
|
||||
|
Loading…
Reference in New Issue
Block a user