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:
@@ -182,7 +182,7 @@ namespace Barotrauma.Items.Components
|
||||
{
|
||||
if (character.IsKeyDown(InputType.Aim))
|
||||
{
|
||||
targetLimb.character.Health += LimbFixAmount * degreeOfSuccess;
|
||||
targetLimb.character.AddDamage(CauseOfDeath.Damage, LimbFixAmount * degreeOfSuccess);
|
||||
//isActive = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user