aboutsummaryrefslogtreecommitdiff
path: root/lawsuit/wright.gd
diff options
context:
space:
mode:
Diffstat (limited to 'lawsuit/wright.gd')
-rw-r--r--lawsuit/wright.gd4
1 files changed, 3 insertions, 1 deletions
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()