mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-29 20:52:10 +01:00
Grenades damage at player
Grenades now remove the correct damage
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user