mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 18:47:55 +08:00
fix: 更新未切换基建模式会导致变回常规模式
This commit is contained in:
@@ -229,6 +229,7 @@ public class InfrastSettingsUserControlModel : TaskViewModel
|
||||
ConfigurationHelper.DeleteValue(ConfigurationKeys.CustomInfrastEnabled, out string outStr) &&
|
||||
bool.TryParse(outStr, out bool enable) && enable)
|
||||
{
|
||||
ConfigurationHelper.SetValue(ConfigurationKeys.InfrastMode, Mode.Custom.ToString());
|
||||
return Mode.Custom;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user