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

compare directly instead of comparing IDs

This commit is contained in:
Nathan Alo 2021-06-24 10:10:57 +08:00
parent 73590bfca1
commit 564c72bf74

View File

@ -240,7 +240,7 @@ namespace osu.Game.Overlays.Chat
{
get
{
if (sender.Id == User.SYSTEM_USER.Id)
if (sender == User.SYSTEM_USER)
return Array.Empty<MenuItem>();
List<MenuItem> items = new List<MenuItem>