Skip to content

Commit

Permalink
Fix more queuing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed May 22, 2023
1 parent 12ee232 commit b5bcf51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion music/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

group = "dev.schlaubi.mikbot"
version = "2.20.2"
version = "2.20.3"

dependencies {
api(libs.lavakord.kord)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ class MusicPlayer(internal val link: Link, private val guild: GuildBehavior) :

private suspend fun onTrackEnd(event: TrackEndEvent) {
if (dontQueue) {
dontQueue = event.reason != TrackEndEvent.EndReason.REPLACED
dontQueue = event.reason == TrackEndEvent.EndReason.REPLACED
}
if (savedTrack != null && event.reason != TrackEndEvent.EndReason.REPLACED) {
val track = savedTrack ?: return
Expand Down

0 comments on commit b5bcf51

Please sign in to comment.