Add Bringer of Death & Laser beam damages on stay
This commit is contained in:
1 parent
899427d70c
commit
797a399977
13 files changed
+723
-2
No files matched your search
@@ -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