1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-05 12:32:58 +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 LargeImageText = user.Value.Username
} }
}; };
protected override void Update()
{
if (client.IsInitialized)
client?.Invoke();
base.Update();
}
} }
} }