1
0
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:
Lucas A 2019-04-19 19:50:13 +02:00
parent b38160177a
commit a4166ce1e3

View File

@ -100,13 +100,5 @@ namespace osu.Desktop
LargeImageText = user.Value.Username
}
};
protected override void Update()
{
if (client.IsInitialized)
client?.Invoke();
base.Update();
}
}
}