Bugfix: Correct normalisation

master
Starbeamrainbowlabs 3 years ago
parent 06325a80bf
commit 46d2af6124
  1. 2
      common/Normalisers.mjs

@ -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 }
);
}

Loading…
Cancel
Save