summaryrefslogtreecommitdiff
path: root/scripts/hoop.gd
diff options
context:
space:
mode:
authorLogan <logan@cflip.net>2022-09-27 12:33:28 -0600
committerLogan <logan@cflip.net>2022-09-27 12:33:28 -0600
commit215c67a3aa6a07af05f3af6268bbc82d60925bcc (patch)
tree6db0d7c6a2cbd37b5e228dcf4624fb1200143d9f /scripts/hoop.gd
parent411f20828ccdfb2ffabc927bb78794853a8de1f0 (diff)
Remove the need for a hoop position variable.
Diffstat (limited to 'scripts/hoop.gd')
-rw-r--r--scripts/hoop.gd3
1 files changed, 0 insertions, 3 deletions
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: