summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLogan <logan@cflip.net>2022-10-01 18:09:40 -0600
committerLogan <logan@cflip.net>2022-10-01 18:09:40 -0600
commit78a037a2652e2b7cc5f652f9c24119bbc8ec7df2 (patch)
tree530a1b01058edf0574c3f57ae8ac4a91ebcd60ce
parent70522c38af7d241e7144761e7f21b8a97e726d93 (diff)
Change when basketball script emits reset signal.
This was causing an issue with the new camera logic.
-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.