player can now be killed by death tiles directly
This commit is contained in:
parent
9552fee802
commit
89671b3ca9
3 changed files with 18 additions and 3 deletions
|
@ -354,3 +354,6 @@ func _on_SwordArea_area_entered(area):
|
|||
return
|
||||
else:
|
||||
target.die()
|
||||
|
||||
func _on_Area2D_body_entered(body):
|
||||
if body.is_in_group("death"): die()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue