Sound volume setting affects the volume of the splash screen video

This commit is contained in:
Regalis
2017-03-21 17:32:29 +02:00
parent dcd566f2dc
commit c016bee124

View File

@@ -62,7 +62,7 @@ namespace Barotrauma
{
try
{
splashScreenVideo = GameMain.Instance.Content.Load<Video>("utg_4");
splashScreenVideo = GameMain.Instance.Content.Load<Video>("utg_4");
}
catch (Exception e)
@@ -184,6 +184,7 @@ namespace Barotrauma
{
videoPlayer = new VideoPlayer();
videoPlayer.Play(splashScreenVideo);
videoPlayer.Volume = GameMain.Config.SoundVolume;
}
else
{