Add Bringer of Death & Laser beam damages on stay

This commit is contained in:
2023-10-17 12:22:39 +02:00
parent 899427d70c
commit 797a399977
13 changed files with 723 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ public class PlayerManager : MonoBehaviour
public void TakeDamage(int value)
{
Health -= value;
if (Health < 0)
if (Health <= 0)
{
Health = 0;