diff --git a/src/MaaCore/Task/Interface/InfrastTask.cpp b/src/MaaCore/Task/Interface/InfrastTask.cpp index 1028a9ca8a..cf1d890cb6 100644 --- a/src/MaaCore/Task/Interface/InfrastTask.cpp +++ b/src/MaaCore/Task/Interface/InfrastTask.cpp @@ -115,10 +115,10 @@ bool asst::InfrastTask::set_params(const json::value& params) m_office_task_ptr->set_mood_threshold(threshold); m_dorm_task_ptr->set_mood_threshold(threshold); - bool dorm_notstationed_enabled = params.get("dorm_notstationed_enabled", false); + bool dorm_notstationed_enabled = params.get("dorm_notstationed_enabled", true); m_dorm_task_ptr->set_notstationed_enabled(dorm_notstationed_enabled); - bool dorm_trust_enabled = params.get("dorm_trust_enabled", true); + bool dorm_trust_enabled = params.get("dorm_trust_enabled", false); m_dorm_task_ptr->set_trust_enabled(dorm_trust_enabled); bool replenish = params.get("replenish", false); diff --git a/src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs b/src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs index b9baed5290..a168466a5d 100644 --- a/src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs +++ b/src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs @@ -975,7 +975,7 @@ namespace MaaWpfGui.ViewModels.UI } } - private string _dormFilterNotStationedEnabled = ConfigurationHelper.GetValue(ConfigurationKeys.DormFilterNotStationedEnabled, false.ToString()); + private string _dormFilterNotStationedEnabled = ConfigurationHelper.GetValue(ConfigurationKeys.DormFilterNotStationedEnabled, true.ToString()); /// /// Gets or sets a value indicating whether the not stationed filter in dorm is enabled. @@ -990,7 +990,7 @@ namespace MaaWpfGui.ViewModels.UI } } - private string _dormTrustEnabled = ConfigurationHelper.GetValue(ConfigurationKeys.DormTrustEnabled, true.ToString()); + private string _dormTrustEnabled = ConfigurationHelper.GetValue(ConfigurationKeys.DormTrustEnabled, false.ToString()); /// /// Gets or sets a value indicating whether get trust in dorm is enabled.