mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
chore: Update src/MaaCore/Vision/Battle/BattlefieldMatcher.cpp
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -310,7 +310,12 @@ BattlefieldMatcher::MatchResult<std::pair<int, int>> BattlefieldMatcher::kills_a
|
||||
}
|
||||
|
||||
if (kills_text.length() <= pos + 1) {
|
||||
Log.error("kills_text length is too short");
|
||||
Log.error(
|
||||
"kills_text length is too short: text='{}', length={}, pos={}",
|
||||
kills_text,
|
||||
kills_text.size(),
|
||||
pos
|
||||
);
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user