[6.2.0] fix bug

This commit is contained in:
zhongchao
2023-12-01 15:46:15 +08:00
parent 39cb22cc59
commit 2bf65101ce

View File

@@ -1,5 +1,6 @@
package com.mogo.eagle.core.function.call.map package com.mogo.eagle.core.function.call.map
import com.mogo.eagle.core.data.config.FunctionBuildConfig
import com.mogo.eagle.core.function.api.map.roma.IMoGoRomaListener import com.mogo.eagle.core.function.api.map.roma.IMoGoRomaListener
import com.mogo.eagle.core.function.call.base.CallerBase import com.mogo.eagle.core.function.call.base.CallerBase
import kotlin.properties.Delegates import kotlin.properties.Delegates
@@ -60,7 +61,7 @@ object CallerMapRomaListener : CallerBase<IMoGoRomaListener>() {
} }
fun isRange():Boolean{ fun isRange():Boolean{
return romaRange return (FunctionBuildConfig.romaModeStyle == 0 && romaRange) || FunctionBuildConfig.romaModeStyle == 1
} }
} }