1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:47:27 +08:00

Fix base UpdateManager thinking it can check for updates

This commit is contained in:
Dean Herbert 2020-06-12 19:24:50 +09:00
parent 35f577375c
commit 89cf146d18

View File

@ -20,7 +20,9 @@ namespace osu.Game.Updater
/// <summary>
/// Whether this UpdateManager should be or is capable of checking for updates.
/// </summary>
public bool CanCheckForUpdate => game.IsDeployedBuild;
public bool CanCheckForUpdate => game.IsDeployedBuild &&
// only implementations will actually check for updates.
GetType() != typeof(UpdateManager);
private string lastVersion;