1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Merge pull request #19646 from chanon/fix-audiostream-cant-set-null-stream

Fix can't set AudioStreamPlayer stream to null
This commit is contained in:
Max Hilbrunner
2018-07-05 04:16:47 +02:00
committed by GitHub
3 changed files with 10 additions and 11 deletions

View File

@@ -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());
}
}