diff options
| author | Logan <logan@cflip.net> | 2023-05-15 05:49:19 -0600 |
|---|---|---|
| committer | Logan <logan@cflip.net> | 2023-05-15 05:49:19 -0600 |
| commit | edf2381028f6643637d788c9e40bfa12681608cd (patch) | |
| tree | f61bf81e664091ca34aef235bc1a8899133a3198 | |
| parent | 35e5e8560da7b66bb988d0f1fc1db521e6e59bd7 (diff) | |
| -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 |
