Skip to content

Commit 2bbf3b9

Browse files
authored
Merge pull request #63 from gurgalex/fix_glitchy_sound
fix glitchy sound resetting the realm match indicator was removed while refactoring pause/resume logic
2 parents 79a89af + 3398f9f commit 2bbf3b9

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v0.11.1
2+
## fix
3+
- fix rapid repeat audio of realm object detection
4+
15
# v0.11.0
26
## feat
37
- Certain UI Screens now give more helpful output

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.11.0
1+
0.11.1

subot/main.py

+3
Original file line numberDiff line numberDiff line change
@@ -1568,6 +1568,9 @@ def handle_new_frame(self, data: NewFrame):
15681568
if settings.DEBUG:
15691569
self.near_frame_color = self.near_frame_color.copy()
15701570

1571+
# reset if the frame is matched to a realm tileset on every frame (also controls sound clearing)
1572+
self.was_match = False
1573+
15711574
# make grayscale version
15721575
cv2.cvtColor(self.near_frame_color, cv2.COLOR_BGRA2GRAY, dst=self.near_frame_gray)
15731576
self.grid_near_rect = Bot.default_grid_rect(self.parent.nearby_rect_mss)

0 commit comments

Comments
 (0)