- health/oxygen syncing with the new -100.0 - 100.0 range taken into account

- enemies die when their health reaches 0.0 (instead of -100.0)
- HUD, chatbox etc disabled when the character is unconscious
This commit is contained in:
Regalis
2016-03-26 18:09:17 +02:00
parent 277762a72a
commit 6c0927a564
5 changed files with 137 additions and 132 deletions

View File

@@ -250,6 +250,9 @@ namespace Barotrauma.Networking
{
if (gameStarted && Screen.Selected == GameMain.GameScreen)
{
chatBox.Visible = Character.Controlled == null || !Character.Controlled.IsUnconscious;
chatMsgBox.Visible = chatBox.Visible;
inGameHUD.Update(deltaTime);
GameMain.GameSession.CrewManager.Update(deltaTime);