From 2a81d9d9950e01e59736ec1977eba9244e6aab02 Mon Sep 17 00:00:00 2001 From: Crussader <75786691+Crussader@users.noreply.github.com> Date: Tue, 26 Oct 2021 21:15:19 +0400 Subject: [PATCH] Update player.py Removed two unnecessary lines in `change_node` --- pomice/player.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pomice/player.py b/pomice/player.py index e59b6b4..8409612 100644 --- a/pomice/player.py +++ b/pomice/player.py @@ -304,7 +304,6 @@ class Player(VoiceProtocol): self._node = node self._node.players[self.guild.id] = self if self._voice_state: - self._ending_track = self._current await self._dispatch_voice_update(self._voice_state) if self._current: @@ -316,7 +315,6 @@ class Player(VoiceProtocol): endTime=self.current.length, noReplace = False) - self._current = self.current self._last_update = time.time() * 1000 if self.is_paused: