Browse Source

Applied looser check to updater

pull/46/head
Anairkoen Schno 5 years ago
parent
commit
becb3ec135
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
.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
// TODO: fix; it seems wrong somehow
.Where(conflictsCheck => dep.Conflicts == null || !dep.Conflicts.IsSatisfied(conflictsCheck.Version)) // not a conflicting version


Loading…
Cancel
Save