Skip to content

Commit a445011

Browse files
NoSloppyprofezzorn
authored andcommitted
Kill hum if all else fails (#384)
1 parent 2c405de commit a445011

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sound/hybrid_font.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,9 @@ class HybridFont : public SaberBase, public Looper {
469469
hum_player_->set_fade_time(0.2);
470470
hum_player_->FadeAndStop();
471471
hum_player_.Free();
472+
} else {
473+
state_ = STATE_HUM_FADE_OUT;
474+
hum_fade_out_ = 0.2;
472475
}
473476
} else {
474477
state_ = STATE_HUM_FADE_OUT;

0 commit comments

Comments
 (0)