mirror of
https://github.com/LazyDuchess/OpenTS2.git
synced 2025-01-23 00:31:47 -05:00
Update StartupController.cs
This commit is contained in:
parent
b02e7dc81c
commit
898b343a93
1 changed files with 8 additions and 0 deletions
|
@ -71,7 +71,15 @@ namespace OpenTS2.Scenes
|
||||||
ContentLoading.LoadGameContentAsync(_loadProgress).ContinueWith((task) => { OnFinishLoading(); }, TaskScheduler.FromCurrentSynchronizationContext());
|
ContentLoading.LoadGameContentAsync(_loadProgress).ContinueWith((task) => { OnFinishLoading(); }, TaskScheduler.FromCurrentSynchronizationContext());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
OnFinishLoading();
|
OnFinishLoading();
|
||||||
|
if (InitialLoadScreenBackgroundImage != null)
|
||||||
|
Destroy(InitialLoadScreenBackgroundImage.gameObject);
|
||||||
|
if (InitialLoadScreenLogoImage != null)
|
||||||
|
Destroy(InitialLoadScreenLogoImage.gameObject);
|
||||||
|
if (InitialLoadScreenReiaPlayer != null)
|
||||||
|
Destroy(InitialLoadScreenReiaPlayer.gameObject);
|
||||||
|
}
|
||||||
MusicController.PlayMusic(AudioManager.SplashAudio);
|
MusicController.PlayMusic(AudioManager.SplashAudio);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue