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
1 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,9 @@ public class UpdateManager : CompositeDrawable
/// <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;