mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
Move local back in place
This commit is contained in:
parent
89cf146d18
commit
446ce2590c
@ -24,8 +24,6 @@ namespace osu.Game.Updater
|
|||||||
// only implementations will actually check for updates.
|
// only implementations will actually check for updates.
|
||||||
GetType() != typeof(UpdateManager);
|
GetType() != typeof(UpdateManager);
|
||||||
|
|
||||||
private string lastVersion;
|
|
||||||
|
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private OsuConfigManager config { get; set; }
|
private OsuConfigManager config { get; set; }
|
||||||
|
|
||||||
@ -42,7 +40,7 @@ namespace osu.Game.Updater
|
|||||||
Schedule(() => Task.Run(CheckForUpdateAsync));
|
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.
|
// 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;
|
var version = game.Version;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user