diff --git a/Netkan/Transformers/SpaceWarpInfoTransformer.cs b/Netkan/Transformers/SpaceWarpInfoTransformer.cs index 7ebc3bfb4e..12a2d33957 100644 --- a/Netkan/Transformers/SpaceWarpInfoTransformer.cs +++ b/Netkan/Transformers/SpaceWarpInfoTransformer.cs @@ -79,8 +79,10 @@ public IEnumerable Transform(Metadata metadata, TransformOptions opts) if (GameVersion.TryParse(swinfo.ksp2_version.min, out GameVersion minVer) || GameVersion.TryParse(swinfo.ksp2_version.max, out maxVer)) { - log.InfoFormat("Found compatibility: {0}–{1}", minVer, maxVer); - ModuleService.ApplyVersions(json, null, minVer, maxVer); + log.InfoFormat("Found compatibility: {0}–{1}", minVer?.WithoutBuild, + maxVer?.WithoutBuild); + ModuleService.ApplyVersions(json, null, minVer?.WithoutBuild, + maxVer?.WithoutBuild); } var moduleDeps = (mod.depends?.OfType() .Select(r => r.name)