diff options
Diffstat (limited to 'scripts/basketball.gd')
-rw-r--r-- | scripts/basketball.gd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/basketball.gd b/scripts/basketball.gd index 57c211c..9b0f72b 100644 --- a/scripts/basketball.gd +++ b/scripts/basketball.gd @@ -37,6 +37,7 @@ func toggle_mode(): $GhostSprite.visible = false $Sprite2D.position = Vector2(0, 0) else: + sleeping = false # Adds offset of ball's rotation to sprite AFTER the entire object has rotated from physics. # Done to keep appearance of same rotation to add consistency when resetting the ball. $Sprite2D.rotation += rotation |