Add Bringer of Death & Laser beam damages on stay
This commit is contained in:
@@ -40,7 +40,7 @@ public class PlayerManager : MonoBehaviour
|
||||
public void TakeDamage(int value)
|
||||
{
|
||||
Health -= value;
|
||||
if (Health < 0)
|
||||
if (Health <= 0)
|
||||
{
|
||||
Health = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user