Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2d62819

Browse files
committed
Made score calculation threshold more lenient
1 parent 82bdc31 commit 2d62819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GeoMap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class GeoMap {
2323
}
2424

2525
scoreCalculation(distance) {
26-
if(distance < 5)
26+
if(distance < 7.5)
2727
return 5000;
2828

2929
let score = (this.minimumDistanceForPoints - distance) / (this.minimumDistanceForPoints / this.maxScore);

0 commit comments

Comments
 (0)