Skip to content

Commit d89d7f1

Browse files
committed
Fix setting visibility
1 parent d9d1e4d commit d89d7f1

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/kotlin/com/lambda/module/modules/movement

1 file changed

+1
-1
lines changed

common/src/main/kotlin/com/lambda/module/modules/movement/Speed.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ object Speed : Module(
2525
@JvmStatic val mode by setting("Mode", Mode.GRIM_STRAFE)
2626

2727
// Grim
28-
private val rotation = RotationSettings(this)
28+
private val rotation = RotationSettings(this) { mode == Mode.GRIM_STRAFE }
2929

3030
// NCP
3131
private val ncpBaseSpeed by setting("Base Speed", 0.2873, 0.1..0.3, 0.0001, visibility = { mode == Mode.NCP_STRAFE })

0 commit comments

Comments
 (0)