aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/SensitivityReducer.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/SensitivityReducer.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/SensitivityReducer.kt
index a13ca41d3..0cb3291b2 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/SensitivityReducer.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/SensitivityReducer.kt
@@ -139,11 +139,11 @@ object SensitivityReducer {
if (!LockMouseLook.lockedMouse) {
storage.savedMouseloweredSensitivity = gameSettings.mouseSensitivity
+ val newSens = doTheMath(storage.savedMouseloweredSensitivity)
+ gameSettings?.mouseSensitivity = newSens
} else {
storage.savedMouseloweredSensitivity = storage.savedMouselockedSensitivity
}
- val newSens = doTheMath(storage.savedMouseloweredSensitivity)
- gameSettings?.mouseSensitivity = newSens
if (showMessage) ChatUtils.chat("§bMouse sensitivity is now lowered. Type /shsensreduce to restore your sensitivity.")
}