Clients use the Revive method instead of just setting health above zero when the host revives a character. Fixes dismembered characters staying dismembered client-side.

This commit is contained in:
Joonas Rikkonen
2018-08-15 11:52:48 +03:00
parent e513b379f4
commit b1f8de887c
3 changed files with 4 additions and 4 deletions
@@ -344,7 +344,7 @@ namespace Barotrauma
}
else
{
this.isDead = false;
if (this.isDead) Revive();
health = msg.ReadRangedSingle(minHealth, maxHealth, 8);