This commit is contained in:
Jonas Mucke
2020-04-20 10:09:07 +02:00
parent fc59452928
commit b8b026d063
12 changed files with 114 additions and 75 deletions

View File

@@ -22,6 +22,6 @@ func _physics_process(delta):
func _on_Hurtbox_area_entered(area):
lifePoints -= area.damage
if(lifePoints<0):
if(lifePoints<=0):
queue_free()
pass