Fix background Unity input and shop boundaries; record login failure
This commit is contained in:
@@ -16,6 +16,10 @@ class FakeEngine(Engine):
|
|||||||
self.shots += 1
|
self.shots += 1
|
||||||
return {'path': 'fake/shot_%d.png' % self.shots, 'w': 1920, 'h': 1080}
|
return {'path': 'fake/shot_%d.png' % self.shots, 'w': 1920, 'h': 1080}
|
||||||
|
|
||||||
|
def show_game_background(self):
|
||||||
|
self.actions.append(('show_game_background',))
|
||||||
|
return {'visible': True, 'foreground_changed': False}
|
||||||
|
|
||||||
def ocr(self):
|
def ocr(self):
|
||||||
shot = self.screenshot()
|
shot = self.screenshot()
|
||||||
items = self.frames.pop(0) if len(self.frames) > 1 else self.frames[0]
|
items = self.frames.pop(0) if len(self.frames) > 1 else self.frames[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user