Grenades damage at player

Grenades now remove the correct damage
This commit is contained in:
Noah4ever
2021-12-08 20:53:40 +01:00
parent 1e432ad802
commit 3a1a279530
5 changed files with 279 additions and 202 deletions

View File

@@ -109,8 +109,6 @@ public class Player : NetworkBehaviour
}
public void RemoveHealth(int value)
{
if (isAlive)
{
ShowHit();
@@ -121,7 +119,6 @@ public class Player : NetworkBehaviour
Die();
}
}
}
[ClientRpc]