mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
fix: 优化一个不明所以的逻辑
This commit is contained in:
@@ -395,9 +395,7 @@ void asst::RoguelikeBattleTaskPlugin::all_melee_retreat()
|
||||
auto& tile_info = m_normal_tile_info[loc];
|
||||
auto& type = tile_info.buildable;
|
||||
if (type == Loc::Melee || type == Loc::All) {
|
||||
if (!retreat(tile_info.pos)) {
|
||||
continue;
|
||||
}
|
||||
retreat(tile_info.pos);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user