1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 14:10:45 +08:00

Move local back in place

This commit is contained in:
Dean Herbert
2020-06-12 19:25:54 +09:00
Unverified
parent 89cf146d18
commit 446ce2590c
+1 -3
View File
@@ -24,8 +24,6 @@ namespace osu.Game.Updater
// only implementations will actually check for updates.
GetType() != typeof(UpdateManager);
private string lastVersion;
[Resolved]
private OsuConfigManager config { get; set; }
@@ -42,7 +40,7 @@ namespace osu.Game.Updater
Schedule(() => Task.Run(CheckForUpdateAsync));
// Query last version only *once*, so the user can re-check for updates, in case they closed the notification or else.
lastVersion ??= config.Get<string>(OsuSetting.Version);
var lastVersion = config.Get<string>(OsuSetting.Version);
var version = game.Version;