Skip to content

Commit

Permalink
reset episode after changing season
Browse files Browse the repository at this point in the history
  • Loading branch information
M4ss1ck committed Mar 23, 2024
1 parent bbf924e commit dfd4d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ actions.action(/(season|episode)(Minus|Plus)_\d+_\d+(_\w+)?/i, async ctx => {
season: {
increment: seasonIncrement
},
episode: {
episode: isSeason ? 1 : {
increment: episodeIncrement
}
}
Expand Down

0 comments on commit dfd4d47

Please sign in to comment.