BEHOLD, MY SUPER LASER PISS
This commit is contained in:
parent
084aada510
commit
e29208a2e5
23 changed files with 760 additions and 20 deletions
|
|
@ -40,7 +40,6 @@ public class Entity : MonoBehaviour
|
|||
public void TakeDamage(float damage)
|
||||
{
|
||||
health -= damage;
|
||||
health = Mathf.Clamp(health, 0, maxHealth);
|
||||
if (health < 0)
|
||||
{
|
||||
OnKillEffects();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue