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:
parent
73590bfca1
commit
564c72bf74
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user