Fixes an issue with Apples & Tilemap (lol)

This commit is contained in:
Indrajith K L
2022-04-14 15:38:09 +05:30
parent fc44ae1243
commit 8bf932bf0b
3 changed files with 57 additions and 33 deletions

View File

@@ -6,6 +6,6 @@ func _ready():
func _on_Area2D_body_entered(body):
if body.entity_type=="PLAYER":
if (body.name=="Player"):
body.health += health
queue_free()