Disabled debug logging of the loading coroutine when verbose logging isn't enabled

This commit is contained in:
Joonas Rikkonen
2017-07-23 20:11:34 +03:00
parent bce3d492ba
commit bf7677154b
3 changed files with 20 additions and 5 deletions
@@ -41,7 +41,10 @@ namespace Barotrauma
set
{
loadState = value;
DebugConsole.NewMessage("Loading: " + value.ToString() + "%",Color.Yellow);
if (GameSettings.VerboseLogging)
{
DebugConsole.NewMessage("Loading: " + value.ToString() + "%", Color.Yellow);
}
DrawLoadingText = true;
}
}