ToggleHUD console command hides the mp chat box. Closes #208

This commit is contained in:
Joonas Rikkonen
2018-01-09 11:19:21 +02:00
parent ac704cdaae
commit 662ead0bb4
2 changed files with 6 additions and 4 deletions
@@ -210,9 +210,11 @@ namespace Barotrauma.Networking
{
msgBox.Visible = Character.Controlled == null || Character.Controlled.CanSpeak;
inGameHUD.Update(deltaTime);
GameMain.GameSession.CrewManager.Update(deltaTime);
if (!GUI.DisableHUD)
{
inGameHUD.Update(deltaTime);
GameMain.GameSession.CrewManager.Update(deltaTime);
}
if (Character.Controlled == null || Character.Controlled.IsDead)
{