[fix] Default for enableInHole Surround

This commit is contained in:
liv 2020-12-12 22:31:00 -05:00 committed by GitHub
parent 722d4dcad3
commit 45735cdd0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ object Surround : Module() {
private val placeSpeed = register(Settings.floatBuilder("PlacesPerTick").withValue(4f).withRange(0.25f, 5f).withStep(0.25f))
private val autoDisable = register(Settings.e<AutoDisableMode>("AutoDisable", AutoDisableMode.OUT_OF_HOLE))
private val outOfHoleTimeout = register(Settings.integerBuilder("OutOfHoleTimeout(t)").withValue(10).withRange(1, 50).withVisibility { autoDisable.value == AutoDisableMode.OUT_OF_HOLE })
private val enableInHole = register(Settings.b("EnableInHole", true))
private val enableInHole = register(Settings.b("EnableInHole", false))
private val inHoleTimeout = register(Settings.integerBuilder("InHoleTimeout(t)").withValue(50).withRange(1, 100).withVisibility { enableInHole.value })
private val disableStrafe = register(Settings.b("DisableStrafe", true))
@ -178,4 +178,4 @@ object Surround : Module() {
alwaysListening = enableInHole.value
}
}
}
}