mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 06:52:55 +08:00
Removed Update() override from DiscordRichPresenceClient because client.Invoke() is unecessary (events callbacks are automatically called)
This commit is contained in:
parent
b38160177a
commit
a4166ce1e3
@ -100,13 +100,5 @@ namespace osu.Desktop
|
||||
LargeImageText = user.Value.Username
|
||||
}
|
||||
};
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
if (client.IsInitialized)
|
||||
client?.Invoke();
|
||||
|
||||
base.Update();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user