mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 08:02:54 +08:00
Revert more incorrect changes
This commit is contained in:
parent
f5c3863e6d
commit
7ae421cc8e
@ -39,11 +39,10 @@ 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.
|
||||
var lastVersion = config.Get<string>(OsuSetting.Version);
|
||||
|
||||
var version = game.Version;
|
||||
|
||||
var lastVersion = config.Get<string>(OsuSetting.Version);
|
||||
|
||||
if (game.IsDeployedBuild && version != lastVersion)
|
||||
{
|
||||
// only show a notification if we've previously saved a version to the config file (ie. not the first run).
|
||||
|
Loading…
Reference in New Issue
Block a user