PE: AudioSource - Stop() folowed by Play() now act like a restart.

This commit is contained in:
Preben Eriksen
2022-11-10 10:51:20 +01:00
parent 81c13825c5
commit b02020f801

View File

@@ -132,7 +132,7 @@ void AudioSource::Play()
Clip->RequestStreamingUpdate();
// If we are looping and streaming also update streaming buffers
if (_loop)
if (_loop || state == States::Stopped)
RequestStreamingBuffersUpdate();
}
}