fix: 修复隐藏未开放关卡跨天问题2

This commit is contained in:
uye
2022-09-05 04:04:41 +08:00
parent 9fad94bd5d
commit 74e247a5f4

View File

@@ -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;