summaryrefslogtreecommitdiff
path: root/CheckFall.gd
diff options
context:
space:
mode:
Diffstat (limited to 'CheckFall.gd')
-rw-r--r--CheckFall.gd5
1 files changed, 5 insertions, 0 deletions
diff --git a/CheckFall.gd b/CheckFall.gd
new file mode 100644
index 0000000..ff28fc0
--- /dev/null
+++ b/CheckFall.gd
@@ -0,0 +1,5 @@
+extends Area2D
+
+
+func _on_CheckFall_body_entered(body):
+ get_parent().respawn_player()