Server can inflict impact damage on clients, character oxygen level syncing bugfix, hulls send a networkevent when oxygen level changes by >=5%, limb velocities aren't reset when receiving a network update
This commit is contained in:
@@ -1520,7 +1520,7 @@ namespace Barotrauma
|
||||
|
||||
message.Write(keys[(int)InputType.Run].Held);
|
||||
|
||||
message.Write(keys[(int)InputType.Crouch].Held);
|
||||
message.Write(((HumanoidAnimController)AnimController).Crouching);
|
||||
|
||||
|
||||
if (secondaryHeld)
|
||||
@@ -1685,6 +1685,7 @@ namespace Barotrauma
|
||||
if (allOk)
|
||||
{
|
||||
bleeding = 0.0f;
|
||||
Oxygen = 100.0f;
|
||||
AnimController.StunTimer = 0.0f;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user