summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Scott <ascott.ca@gmail.com>2024-06-21 07:17:28 -0400
committerAdam Scott <ascott.ca@gmail.com>2024-06-21 07:17:28 -0400
commite8212f18493a6e207ec01c43fb8e75faf82b8f8e (patch)
treeb0829443ffd9d4731f586b14d093ef0670f053a9
parent04a530f91fc83b41112007dbd2ce02e9528df682 (diff)
downloadredot-engine-e8212f18493a6e207ec01c43fb8e75faf82b8f8e.tar.gz
Remove superfluous non-working sample playing check
-rw-r--r--scene/audio/audio_stream_player_internal.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/scene/audio/audio_stream_player_internal.cpp b/scene/audio/audio_stream_player_internal.cpp
index 853638e47f..b3a55ddee0 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;
}