1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 09:07:25 +08:00

Fix the comment

This commit is contained in:
Andrei Zavatski 2019-08-30 10:26:11 +03:00
parent 71c844facd
commit 72dbeaec16

View File

@ -44,7 +44,7 @@ namespace osu.Game.Online.API.Requests.Responses
{ {
set 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(); string parsed = value.Contains(".") ? value.Split('.')[0].Pascalize() + value.Split('.')[1].Pascalize() : value.Pascalize();
Action = (KudosuAction)Enum.Parse(typeof(KudosuAction), parsed); Action = (KudosuAction)Enum.Parse(typeof(KudosuAction), parsed);