Skip to content

Commit

Permalink
Preserve media state after ending media screen-loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabordemooij committed Aug 2, 2024
1 parent 7a8a5da commit 05607b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/media/media.c
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ ctr_object* ctr_media_screen(ctr_object* myself, ctr_argument* argumentList) {
}
myself->info.sticky = 0;
if (CtrMediaBreakLoopFlag) {
ctr_internal_media_reset();
CtrMediaBreakLoopFlag = 0;
return myself;
}
//Update timers, both outside and inside event loop (otherwise you could stall it)
Expand Down

0 comments on commit 05607b6

Please sign in to comment.