1
0
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:
Dean Herbert 2020-06-12 19:32:32 +09:00
parent f5c3863e6d
commit 7ae421cc8e

View File

@ -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).