mirror of
https://github.com/LazyDuchess/OpenTS2.git
synced 2025-01-22 16:21: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());
|
||||
}
|
||||
else
|
||||
{
|
||||
OnFinishLoading();
|
||||
if (InitialLoadScreenBackgroundImage != null)
|
||||
Destroy(InitialLoadScreenBackgroundImage.gameObject);
|
||||
if (InitialLoadScreenLogoImage != null)
|
||||
Destroy(InitialLoadScreenLogoImage.gameObject);
|
||||
if (InitialLoadScreenReiaPlayer != null)
|
||||
Destroy(InitialLoadScreenReiaPlayer.gameObject);
|
||||
}
|
||||
MusicController.PlayMusic(AudioManager.SplashAudio);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue