mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
fix: 修复隐藏未开放关卡跨天问题2
This commit is contained in:
@@ -434,9 +434,10 @@ namespace MeoAsstGui
|
||||
|
||||
if (settingsModel.HideUnavailableStage)
|
||||
{
|
||||
var stage1 = Stage1;
|
||||
StageList = newList;
|
||||
|
||||
if (Stage1 == null)
|
||||
if (stage1 == null)
|
||||
{
|
||||
Stage1 = string.Empty;
|
||||
}
|
||||
@@ -445,7 +446,7 @@ namespace MeoAsstGui
|
||||
bool hasSavedValue = false;
|
||||
foreach (var item in StageList)
|
||||
{
|
||||
if (item.Value == Stage1)
|
||||
if (item.Value == stage1)
|
||||
{
|
||||
hasSavedValue = true;
|
||||
break;
|
||||
@@ -456,6 +457,10 @@ namespace MeoAsstGui
|
||||
{
|
||||
Stage1 = string.Empty;
|
||||
}
|
||||
else
|
||||
{
|
||||
Stage1 = stage1;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -474,10 +479,12 @@ namespace MeoAsstGui
|
||||
{
|
||||
stage1 = _closedStage;
|
||||
}
|
||||
|
||||
if (item.Value == stage2)
|
||||
{
|
||||
stage2 = _closedStage;
|
||||
}
|
||||
|
||||
if (item.Value == stage2)
|
||||
{
|
||||
stage3 = _closedStage;
|
||||
|
||||
Reference in New Issue
Block a user