update_operators中向match_avatar传灰图
This commit is contained in:
parent
3251274ae0
commit
a12f777960
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ class FightMixin:
|
|||
segment.append(scope)
|
||||
cost_scope = sa(((-13, 19), (30, 44)), (x, y))
|
||||
cost.append(self.number(cost_scope, 25, 80))
|
||||
operators = match_avatar(config.recog.img, segment)
|
||||
operators = match_avatar(config.recog.gray, segment)
|
||||
for idx, (name, scope) in enumerate(operators):
|
||||
name = self.replacements[name] if name in self.replacements else name
|
||||
if name not in self.watching and name in agent_list:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue