Skip to content

Commit

Permalink
OptimizeForCriticals only affects LegitHop
Browse files Browse the repository at this point in the history
1zun4 committed Feb 7, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent ac6c1fe commit ec108c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -48,8 +48,6 @@ object ModuleSpeed : Module("Speed", Category.MOVEMENT) {
)
)

private val optimizeForCriticals by boolean("OptimizeForCriticals", true)

private object SpeedYPort : Choice("YPort") {

override val parent: ChoiceConfigurable
@@ -71,6 +69,8 @@ object ModuleSpeed : Module("Speed", Category.MOVEMENT) {
override val parent: ChoiceConfigurable
get() = modes

private val optimizeForCriticals by boolean("OptimizeForCriticals", true)

val repeatable = repeatable {
if (optimizeForCriticals && ModuleCriticals.shouldWaitForJump(0.42f)) {
return@repeatable

0 comments on commit ec108c0

Please sign in to comment.