Moving camera with sub even if typing, server doesn't do impact damage to client characters, server sends cause of death in importantentityupdate if health<=0, fire sync fixes, lerping water surface in update instead of render,
This commit is contained in:
@@ -269,7 +269,7 @@ namespace Barotrauma
|
||||
case "heal":
|
||||
if (Character.Controlled != null)
|
||||
{
|
||||
Character.Controlled.Health = Character.Controlled.MaxHealth;
|
||||
Character.Controlled.AddDamage(CauseOfDeath.Damage, -Character.Controlled.MaxHealth);
|
||||
Character.Controlled.Oxygen = 100.0f;
|
||||
Character.Controlled.Bleeding = 0.0f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user