fix matching. station is not important
This commit is contained in:
parent
3f55e946a3
commit
b03d851f77
@ -68,6 +68,7 @@ namespace EliteBGS.BGS {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* if system and faction already match, station is not so important */
|
||||||
if (e.Station != null && station != null) {
|
if (e.Station != null && station != null) {
|
||||||
if (string.Compare(e.Station, station, true) == 0) {
|
if (string.Compare(e.Station, station, true) == 0) {
|
||||||
++match_count;
|
++match_count;
|
||||||
|
@ -264,7 +264,7 @@ namespace EliteBGS.BGS {
|
|||||||
/* Find all objectives that generally match.
|
/* Find all objectives that generally match.
|
||||||
*/
|
*/
|
||||||
var matches = objectives
|
var matches = objectives
|
||||||
.Where(x => x.Matches(entry) >= 3)
|
.Where(x => x.Matches(entry) >= 2)
|
||||||
.OrderBy(x => x.Matches(entry))
|
.OrderBy(x => x.Matches(entry))
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user