Sound volume setting affects the volume of the splash screen video
This commit is contained in:
@@ -62,7 +62,7 @@ namespace Barotrauma
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
splashScreenVideo = GameMain.Instance.Content.Load<Video>("utg_4");
|
splashScreenVideo = GameMain.Instance.Content.Load<Video>("utg_4");
|
||||||
}
|
}
|
||||||
|
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
@@ -184,6 +184,7 @@ namespace Barotrauma
|
|||||||
{
|
{
|
||||||
videoPlayer = new VideoPlayer();
|
videoPlayer = new VideoPlayer();
|
||||||
videoPlayer.Play(splashScreenVideo);
|
videoPlayer.Play(splashScreenVideo);
|
||||||
|
videoPlayer.Volume = GameMain.Config.SoundVolume;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user