mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-18 08:00:19 +02:00
ai fixed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user