From f4c0645b74e85607e18c58f77cc7bbd1a4931123 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 31 Jan 2021 13:34:11 +0100 Subject: Small adjustments --- Objects/CheckFall.gd | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Objects/CheckFall.gd (limited to 'Objects/CheckFall.gd') diff --git a/Objects/CheckFall.gd b/Objects/CheckFall.gd new file mode 100644 index 0000000..ff28fc0 --- /dev/null +++ b/Objects/CheckFall.gd @@ -0,0 +1,5 @@ +extends Area2D + + +func _on_CheckFall_body_entered(body): + get_parent().respawn_player() -- cgit v1.2.3