1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

give the object a default value(null).

This commit is contained in:
andy840119 2022-08-02 23:02:14 +08:00
parent 13b2441c51
commit c8c2758d63

View File

@ -47,7 +47,7 @@ namespace osu.Desktop.LegacyIpc
public class Data
{
public string MessageType { get; set; } = string.Empty;
public object MessageData { get; set; }
public object MessageData { get; set; } = default!;
}
}
}