Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
solumath authored Mar 21, 2024
2 parents a123d6d + 66a1c9d commit ed92735
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wavelink/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,7 @@ async def play(

old_previous = self._previous
self._previous = self._current
self.queue._loaded = track

pause: bool
if paused is not None:
Expand All @@ -809,6 +810,7 @@ async def play(
try:
await self.node._update_player(self.guild.id, data=request, replace=replace)
except LavalinkException as e:
self.queue._loaded = old_previous
self._current = None
self._original = None
self._previous = old_previous
Expand Down

0 comments on commit ed92735

Please sign in to comment.