Huskification bugfixes

This commit is contained in:
Regalis
2016-09-07 18:19:42 +03:00
parent d884f23a72
commit 9463b18993
2 changed files with 3 additions and 12 deletions
+2 -2
View File
@@ -1608,7 +1608,7 @@ namespace Barotrauma
message.WriteRangedSingle(health, minHealth, maxHealth, 8);
if (AnimController.StunTimer <= 0.0f && bleeding <= 0.0f && oxygen > 99.0f)
if (AnimController.StunTimer <= 0.0f && bleeding <= 0.0f && oxygen > 99.0f && huskInfection == null)
{
message.Write(true);
}
@@ -1856,7 +1856,7 @@ namespace Barotrauma
break;
case NetworkEventType.EntityUpdate:
Enabled = true;
if (GameMain.Client != null) Enabled = true;
Vector2 relativeCursorPos = Vector2.Zero;