mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 16:32:54 +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
|
get
|
||||||
{
|
{
|
||||||
if (sender.Id == User.SYSTEM_USER.Id)
|
if (sender == User.SYSTEM_USER)
|
||||||
return Array.Empty<MenuItem>();
|
return Array.Empty<MenuItem>();
|
||||||
|
|
||||||
List<MenuItem> items = new List<MenuItem>
|
List<MenuItem> items = new List<MenuItem>
|
||||||
|
Loading…
Reference in New Issue
Block a user