Skip to content

Commit

Permalink
Update maximilian.h
Browse files Browse the repository at this point in the history
fixed retrigger bug in maxiEnvGen::play()
  • Loading branch information
Kiddin75 authored May 23, 2023
1 parent e97f3ad commit 8ab7a8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/maximilian.h
Original file line number Diff line number Diff line change
Expand Up @@ -2316,6 2316,7 @@ class CHEERP_EXPORT maxiEnvGen {
}
if (retrigger) {
if (retriggerDetector.onZX(trigger)) {
nxcHappened = false;
reset();
}
}
Expand All @@ -2336,6 2337,7 @@ class CHEERP_EXPORT maxiEnvGen {
}
if (retrigger) {
if (retriggerDetector.onZX(trigger)) {
nxcHappened = false;
reset();
}
}
Expand Down

0 comments on commit 8ab7a8e

Please sign in to comment.