From e8212f18493a6e207ec01c43fb8e75faf82b8f8e Mon Sep 17 00:00:00 2001 From: Adam Scott Date: Fri, 21 Jun 2024 07:17:28 -0400 Subject: [PATCH] Remove superfluous non-working sample playing check --- scene/audio/audio_stream_player_internal.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/scene/audio/audio_stream_player_internal.cpp b/scene/audio/audio_stream_player_internal.cpp index 853638e47fbc..b3a55ddee063 100644 --- a/scene/audio/audio_stream_player_internal.cpp +++ b/scene/audio/audio_stream_player_internal.cpp @@ -276,9 +276,6 @@ bool AudioStreamPlayerInternal::is_playing() const { if (AudioServer::get_singleton()->is_playback_active(playback)) { return true; } - if (AudioServer::get_singleton()->is_sample_playback_active(playback)) { - return true; - } } return false; }