Skip to content

Commit

Permalink
Fix timer issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabordemooij committed Jun 23, 2024
1 parent 2909bde commit 4210f7b
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 @@ -1209,7 +1209,7 @@ void ctr_internal_media_recalcy(int oldWindowHeight) {
}

void ctr_internal_media_update_timers(ctr_object* media) {
for(int i = 1; i <= CtrMaxMediaTimers; i++) {
for(int i = 1; i < CtrMaxMediaTimers; i++) {
if (CtrMediaTimers[i] < 0) continue;
if (CtrMediaTimers[i] == 0) {
ctr_media_event_timer(media, CTR_DICT_ON_TIMER, i);
Expand Down

0 comments on commit 4210f7b

Please sign in to comment.