diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/MovementSpeedDisplay.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/MovementSpeedDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/MovementSpeedDisplay.kt index fb2cff7fc..d6d73c3ce 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/MovementSpeedDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/MovementSpeedDisplay.kt @@ -16,7 +16,7 @@ class MovementSpeedDisplay { private var display = "" init { - fixedRateTimer(name = "skyhanni-movement-speed-display", period = 1_000, initialDelay = 1_000) { + fixedRateTimer(name = "skyhanni-movement-speed-display", period = 250, initialDelay = 1_000) { checkSpeed() } } @@ -31,7 +31,7 @@ class MovementSpeedDisplay { } lastLocation?.let { - val distance = it.distance(currentLocation) + val distance = it.distance(currentLocation) * 4 display = "Movement Speed: ${distance.round(2)}" lastLocation = currentLocation } |