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