fix: “dorm_notstationed_enabled”参数默认值错误

fix #9282
This commit is contained in:
uye
2024-06-07 15:00:08 +08:00
parent 462998b259
commit 2c286a5f41

View File

@@ -133,7 +133,7 @@ bool asst::InfrastTask::set_params(const json::value& params)
m_processing_task_ptr->set_mood_threshold(threshold);
m_dorm_task_ptr->set_mood_threshold(threshold);
bool dorm_notstationed_enabled = params.get("dorm_notstationed_enabled", true);
bool dorm_notstationed_enabled = params.get("dorm_notstationed_enabled", false);
m_dorm_task_ptr->set_notstationed_enabled(dorm_notstationed_enabled);
bool dorm_trust_enabled = params.get("dorm_trust_enabled", false);