From 778d6411d742f5e2b8206d18068a8acc42a8a63d Mon Sep 17 00:00:00 2001 From: Loong Date: Thu, 12 Oct 2023 14:50:41 +0800 Subject: [PATCH] fix: load client resource when playtools is not true (#75) The load of client resource should not be affected by the value of playtools. --- maa-cli/src/run/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/maa-cli/src/run/mod.rs b/maa-cli/src/run/mod.rs index 68bbff8a..f086764e 100644 --- a/maa-cli/src/run/mod.rs +++ b/maa-cli/src/run/mod.rs @@ -117,8 +117,9 @@ pub fn run( match task_type { TaskOrUnknown::Task(task_type) => match task_type { - TaskType::StartUp if playtools => { - if params.get_or("enable", true)? + TaskType::StartUp => { + if playtools + && params.get_or("enable", true)? && params.get_or("start_game_enabled", false)? { start_app = true;