diff --git a/osu.Game.Rulesets.RurusettoAddon/RulesetDownloadManager.cs b/osu.Game.Rulesets.RurusettoAddon/RulesetDownloadManager.cs index 8cce3eb..ffb5db3 100644 --- a/osu.Game.Rulesets.RurusettoAddon/RulesetDownloadManager.cs +++ b/osu.Game.Rulesets.RurusettoAddon/RulesetDownloadManager.cs @@ -72,10 +72,10 @@ public void CheckAvailability ( APIRuleset ruleset ) { var info = new FileInfo( ruleset.LocalPath ); info.Refresh(); - if ( s.LatestUpdate.HasValue && info.CreationTimeUtc < s.LatestUpdate.Value ) { + if ( s.LatestUpdate.HasValue && info.LastWriteTimeUtc < s.LatestUpdate.Value ) { availability.Value |= Availability.Outdated; } - else if ( info.Length != s.FileSize ) { + else if ( s.FileSize != 0 && info.Length != s.FileSize ) { availability.Value |= Availability.Outdated; } }