Skip to content

Commit

Permalink
fix(legacy): mlg mode settings displaying incorrectly (#3903)
Browse files Browse the repository at this point in the history
Closes: #3901
  • Loading branch information
EclipsesDev authored Sep 8, 2024
1 parent aca4b6c commit 288d2e6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ object NoFall : Module("NoFall", Category.PLAYER, hideModule = false) {
override fun isSupported() = rotations && keepRotation && mode == "MLG"
}

val startRotatingSlow by BoolValue("StartRotatingSlow", false) { rotations }
val slowDownOnDirectionChange by BoolValue("SlowDownOnDirectionChange", false) { rotations }
val useStraightLinePath by BoolValue("UseStraightLinePath", true) { rotations }
val startRotatingSlow by BoolValue("StartRotatingSlow", false) { rotations && mode == "MLG" }
val slowDownOnDirectionChange by BoolValue("SlowDownOnDirectionChange", false) { rotations && mode == "MLG" }
val useStraightLinePath by BoolValue("UseStraightLinePath", true) { rotations && mode == "MLG" }
val maxHorizontalSpeed: FloatValue = object : FloatValue("MaxHorizontalSpeed", 180f, 1f..180f) {
override fun onChange(oldValue: Float, newValue: Float) = newValue.coerceAtLeast(minHorizontalSpeed.get())
override fun isSupported() = rotations && mode == "MLG"
Expand Down

0 comments on commit 288d2e6

Please sign in to comment.