Add a .wsa file reader.
This commit is contained in:
committed by
reaperrr
parent
590ab88c45
commit
a02737107e
@@ -195,7 +195,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
return;
|
||||
|
||||
onComplete = after;
|
||||
if (stopped)
|
||||
if (stopped && video.HasAudio)
|
||||
Game.Sound.PlayVideo(video.AudioData, video.AudioChannels, video.SampleBits, video.SampleRate);
|
||||
else
|
||||
Game.Sound.PlayVideo();
|
||||
|
||||
Reference in New Issue
Block a user