fix equipment.py
This commit is contained in:
@@ -131,7 +131,10 @@ class Equipment(GameBase):
|
||||
cv.waitKey(500)
|
||||
|
||||
if emitter == EMITTER_MAIN:
|
||||
loop_time = time()
|
||||
while True:
|
||||
if (time() - loop_time) >= 60:
|
||||
break
|
||||
screenshot = self.capture_window.get_screenshot()
|
||||
c_rectangles = self.vision_stun.find(screenshot, self.c_needle, 0.95, 1, True, self.c_mask)
|
||||
k_rectangles = self.vision_stun.find(screenshot, self.k_needle, 0.95, 1, True, self.k_mask)
|
||||
|
||||
Reference in New Issue
Block a user