diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2018-07-05 04:16:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-05 04:16:47 +0200 |
commit | ed61bdd2ae16c3d81b8aa1cdd9df7d769e44c49c (patch) | |
tree | 5c8d912650be9360c40b8d7c859d15d42d115777 /scene/audio | |
parent | 3f272c6ae65bd608c3f6412aebced29cfcb813e7 (diff) | |
parent | 2bdac0a5d90811158c0615ab4d16e5dcff933957 (diff) |
Merge pull request #19646 from chanon/fix-audiostream-cant-set-null-stream
Fix can't set AudioStreamPlayer stream to null
Diffstat (limited to 'scene/audio')
-rw-r--r-- | scene/audio/audio_player.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/audio/audio_player.cpp b/scene/audio/audio_player.cpp index b5c232c33c..40ec04e479 100644 --- a/scene/audio/audio_player.cpp +++ b/scene/audio/audio_player.cpp @@ -176,7 +176,6 @@ void AudioStreamPlayer::set_stream(Ref<AudioStream> p_stream) { if (p_stream.is_valid() && stream_playback.is_null()) { stream.unref(); - ERR_FAIL_COND(stream_playback.is_null()); } } |