summaryrefslogtreecommitdiff
path: root/scripts/basketball.gd
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/basketball.gd')
-rw-r--r--scripts/basketball.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/basketball.gd b/scripts/basketball.gd
index bd3756b..9001e68 100644
--- a/scripts/basketball.gd
+++ b/scripts/basketball.gd
@@ -44,8 +44,8 @@ func toggle_mode():
if !$"../Hoop".has_scored:
$ReleaseIndicator.visible = true
- emit_signal("reset")
waiting_for_shoot = true
+ emit_signal("reset")
set_use_custom_integrator(waiting_for_shoot)
# Override the default physics when we want to manually set the position and rotation.