Bugfix: Correct normalisation

This commit is contained in:
Starbeamrainbowlabs 2019-08-06 15:32:32 +01:00
parent 06325a80bf
commit 46d2af6124
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ function normalise_gateway_distance(distance) {
function unnormalise_gateway_distance(ndistance) {
return normalise(ndistance,
{ min: 0, max: 1 },
{ min: 0, max: 20000 }
{ min: 0, max: 75000 }
);
}