Door connections
This commit is contained in:
parent
c613eac80f
commit
0143c01c1e
6 changed files with 54 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue