mirror of
https://github.com/fishyboteso/fishyboteso.git
synced 2024-08-30 18:32:13 +00:00
fix for a bug where semi-fisher doesn't work when stopped and started again
This commit is contained in:
parent
fb6c27271c
commit
b01701e474
@ -1,2 +1,2 @@
|
|||||||
from fishy.__main__ import main
|
from fishy.__main__ import main
|
||||||
__version__ = "0.4.0"
|
__version__ = "0.4.1"
|
||||||
|
@ -24,13 +24,13 @@ class SemiFisherEngine(IEngine):
|
|||||||
def __init__(self, gui_ref: Optional['Callable[[], GUI]']):
|
def __init__(self, gui_ref: Optional['Callable[[], GUI]']):
|
||||||
super().__init__(gui_ref)
|
super().__init__(gui_ref)
|
||||||
self.fishPixWindow = None
|
self.fishPixWindow = None
|
||||||
fishing_event.init()
|
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
"""
|
"""
|
||||||
Starts the fishing
|
Starts the fishing
|
||||||
code explained in comments in detail
|
code explained in comments in detail
|
||||||
"""
|
"""
|
||||||
|
fishing_event.init()
|
||||||
self.fishPixWindow = WindowClient(color=cv2.COLOR_RGB2HSV)
|
self.fishPixWindow = WindowClient(color=cv2.COLOR_RGB2HSV)
|
||||||
|
|
||||||
# check for game window and stuff
|
# check for game window and stuff
|
||||||
|
Loading…
Reference in New Issue
Block a user