Door connections

This commit is contained in:
Felipe M 2021-05-22 08:44:00 +02:00
parent c613eac80f
commit 0143c01c1e
Signed by: fmartingr
GPG key ID: 716BC147715E716F
6 changed files with 54 additions and 5 deletions

View file

@ -7,7 +7,6 @@ var active = true
func _on_Door_body_entered(player):
print("hit door")
if active:
player.emit_signal("his_door", self)
player.emit_signal("hit_door", self)
active = false