Server sleep time is slightly smarter + loading debug messages

This commit is contained in:
juanjp600
2017-06-22 00:24:30 -03:00
parent 6b65e94d41
commit c1780fa7b7
4 changed files with 12 additions and 3 deletions
@@ -44,6 +44,7 @@ namespace Barotrauma
set
{
loadState = value;
DebugConsole.NewMessage("Loading: " + value.ToString() + "%",Color.Yellow);
DrawLoadingText = true;
}
}
+2
View File
@@ -192,6 +192,7 @@ namespace Barotrauma
private IEnumerable<object> Load()
{
DebugConsole.NewMessage("LOADING COROUTINE", Color.Lime);
GUI.GraphicsDevice = base.GraphicsDevice;
GUI.Init(Content);
@@ -269,6 +270,7 @@ namespace Barotrauma
TitleScreen.LoadState = 100.0f;
hasLoaded = true;
DebugConsole.NewMessage("LOADING COROUTINE FINISHED", Color.Lime);
yield return CoroutineStatus.Success;
}