Skip to content
Snippets Groups Projects
Verified Commit 76c32b99 authored by dos's avatar dos
Browse files

Signalize a miss and reset streak when releasing a sustained note too early

parent e1a25729
No related branches found
No related tags found
No related merge requests found
...@@ -557,6 +557,11 @@ class SongView(BaseView): ...@@ -557,6 +557,11 @@ class SongView(BaseView):
if not ins.captouch.petals[p*2].pressed and not event.missed and not event.ghost: if not ins.captouch.petals[p*2].pressed and not event.missed and not event.ghost:
event.missed = True event.missed = True
media.set_volume(0.25) media.set_volume(0.25)
self.miss = 1.0
self.missed[event.number] = 1.0
self.showstreak = 0.0
self.streak = 0
utils.emit("miss", event.number)
played_events = set() played_events = set()
ghost_events = set() ghost_events = set()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment