summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLogan <logan@cflip.net>2023-01-31 21:08:25 -0700
committerLogan <logan@cflip.net>2023-01-31 21:08:25 -0700
commitff29fc6755a18712ee398ce388b62d6c075edae5 (patch)
tree7be0225991f661cf6ce2f403526c16b8e29ec17e
parent463a9df0db94d0f6957de57e7532c34b0c1bc67f (diff)
Prevent unnecessary debug info from being printed
-rw-r--r--scripts/hoop.gd2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/hoop.gd b/scripts/hoop.gd
index 77de7b4..3edd004 100644
--- a/scripts/hoop.gd
+++ b/scripts/hoop.gd
@@ -5,11 +5,9 @@ signal score
var has_scored = false
func _on_Area2D_body_exited(body):
- print(body)
if body.name == "Basketball":
# Prevent scoring multiple points with one basketball throw.
if !has_scored and !global_variables.timer_zero:
- print("SCORE!!!")
global_variables.score += 1
has_scored = true
emit_signal ("score")