mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
feat: 关卡选择为null时变为当前/上次
This commit is contained in:
@@ -1834,6 +1834,8 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
return;
|
||||
}
|
||||
|
||||
value ??= string.Empty;
|
||||
|
||||
if (CustomStageCode)
|
||||
{
|
||||
// 从后往前删
|
||||
@@ -1865,6 +1867,8 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
return;
|
||||
}
|
||||
|
||||
value ??= string.Empty;
|
||||
|
||||
if (CustomStageCode)
|
||||
{
|
||||
if (_stage2.Length != 3)
|
||||
@@ -1895,6 +1899,8 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
return;
|
||||
}
|
||||
|
||||
value ??= string.Empty;
|
||||
|
||||
if (CustomStageCode)
|
||||
{
|
||||
if (_stage3.Length != 3)
|
||||
@@ -1959,6 +1965,8 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
return;
|
||||
}
|
||||
|
||||
value ??= string.Empty;
|
||||
|
||||
if (CustomStageCode)
|
||||
{
|
||||
if (_remainingSanityStage.Length != 3)
|
||||
|
||||
Reference in New Issue
Block a user