From 215c67a3aa6a07af05f3af6268bbc82d60925bcc Mon Sep 17 00:00:00 2001 From: Logan Date: Tue, 27 Sep 2022 12:33:28 -0600 Subject: Remove the need for a hoop position variable. --- scripts/hoop.gd | 3 --- 1 file changed, 3 deletions(-) (limited to 'scripts/hoop.gd') diff --git a/scripts/hoop.gd b/scripts/hoop.gd index aba0b2b..6faaa66 100644 --- a/scripts/hoop.gd +++ b/scripts/hoop.gd @@ -2,9 +2,6 @@ extends StaticBody2D signal score -func _ready(): - global_variables.hoop_position = position.x - func _on_Area2D_body_exited(_body): # Prevent scoring multiple points with one basketball throw. if !global_variables.has_scored: -- cgit v1.2.3