feat: 抄作业不支持的关卡,新增界面提示

This commit is contained in:
MistEO
2022-06-18 17:00:27 +08:00
parent 53e0ae50fe
commit 6ba4444ded
4 changed files with 13 additions and 2 deletions

View File

@@ -25,6 +25,10 @@ bool asst::BattleProcessTask::_run()
bool ret = get_stage_info();
if (!ret) {
json::value info = basic_info_with_what("UnsupportedLevel");
auto& details = info["details"];
details["level"] = m_stage_name;
callback(AsstMsg::SubTaskExtraInfo, info);
return false;
}