diff options
author | Adam Scott <ascott.ca@gmail.com> | 2024-06-21 07:17:28 -0400 |
---|---|---|
committer | Adam Scott <ascott.ca@gmail.com> | 2024-06-21 07:17:28 -0400 |
commit | e8212f18493a6e207ec01c43fb8e75faf82b8f8e (patch) | |
tree | b0829443ffd9d4731f586b14d093ef0670f053a9 | |
parent | 04a530f91fc83b41112007dbd2ce02e9528df682 (diff) | |
download | redot-engine-e8212f18493a6e207ec01c43fb8e75faf82b8f8e.tar.gz |
Remove superfluous non-working sample playing check
-rw-r--r-- | scene/audio/audio_stream_player_internal.cpp | 3 |
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; } |