diff --git a/torchlight_changes_unloze/torchlight3/Torchlight/FFmpegAudioPlayer.py b/torchlight_changes_unloze/torchlight3/Torchlight/FFmpegAudioPlayer.py index bc0baf6..69e20bf 100755 --- a/torchlight_changes_unloze/torchlight3/Torchlight/FFmpegAudioPlayer.py +++ b/torchlight_changes_unloze/torchlight3/Torchlight/FFmpegAudioPlayer.py @@ -244,7 +244,11 @@ class FFmpegAudioPlayer(): await Process.wait() if self.Playing: - self.Stop(False) + # Keep the clip active until the updater reaches self.Seconds. + # This allows !stop to interrupt short clips that are already + # buffered to the voice socket but still audible in-game. + if self.StartedPlaying is None: + self.Stop(False) except asyncio.CancelledError: raise except Exception: