diff options
author | chanon <chanon.s@gmail.com> | 2018-06-19 18:56:05 +0700 |
---|---|---|
committer | chanon <chanon.s@gmail.com> | 2018-06-22 15:00:57 +0700 |
commit | 2bdac0a5d90811158c0615ab4d16e5dcff933957 (patch) | |
tree | e98973e300734d11568cde0c2c4ef8e102f58836 /scene/audio | |
parent | 0a1c1c660fc6aa0689816e85f2b6791c225c6d63 (diff) |
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 408c00334a..06539f6c1a 100644 --- a/scene/audio/audio_player.cpp +++ b/scene/audio/audio_player.cpp @@ -159,7 +159,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()); } } |