Browse Source

Applied looser check to updater

pull/32/head 3.12.23
Anairkoen Schno 5 years ago
parent
commit
29894bb88e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      IPA.Loader/Updating/BeatMods/Updater.cs

+ 1
- 1
IPA.Loader/Updating/BeatMods/Updater.cs View File

@ -389,7 +389,7 @@ namespace IPA.Updating.BeatMods
var ver = modsMatching.Value var ver = modsMatching.Value
.Where(nullCheck => nullCheck != null) // entry is not null .Where(nullCheck => nullCheck != null) // entry is not null
.Where(versionCheck => versionCheck.GameVersion == BeatSaber.GameVersion) // game version matches
.Where(versionCheck => Utils.VersionCompareNoPrerelease(versionCheck.GameVersion, BeatSaber.GameVersion) == 0) // game version matches
.Where(approvalCheck => approvalCheck.Status == ApiEndpoint.Mod.ApprovedStatus) // version approved .Where(approvalCheck => approvalCheck.Status == ApiEndpoint.Mod.ApprovedStatus) // version approved
// TODO: fix; it seems wrong somehow // TODO: fix; it seems wrong somehow
.Where(conflictsCheck => dep.Conflicts == null || !dep.Conflicts.IsSatisfied(conflictsCheck.Version)) // not a conflicting version .Where(conflictsCheck => dep.Conflicts == null || !dep.Conflicts.IsSatisfied(conflictsCheck.Version)) // not a conflicting version


Loading…
Cancel
Save