From c0e428912118390663814d8d85a9a1e10d138dcf Mon Sep 17 00:00:00 2001 From: Roman Gräf Date: Tue, 21 Apr 2020 01:40:51 +0200 Subject: endings --- lawsuit/wright.gd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lawsuit/wright.gd') diff --git a/lawsuit/wright.gd b/lawsuit/wright.gd index 42a53ce..a577d33 100644 --- a/lawsuit/wright.gd +++ b/lawsuit/wright.gd @@ -6,7 +6,9 @@ func _physics_process(delta): if position.x > 1024: get_parent().win() - +func queue_free(): + print('p') + func _on_Area2D_area_shape_entered(area_id, area, area_shape, self_shape): queue_free() var objection = blueprint.instance() -- cgit