Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fade behaviour when tree is paused #17

Merged
merged 1 commit into from
Nov 6, 2023
Merged

Conversation

jaybaird
Copy link
Contributor

Currently if you attempt to play music with a cross-fade while get_tree().paused is true, the music will not switch. This change adds a bind_node call to bind the tween to the player node and not the SceneTree so that cross-fade tweens will work in the player's process mode.

Adds a `bind_node` call to bind to the player node so that cross fade tweens will work when `get_tree().paused` is `true`.
@nathanhoad nathanhoad added the bug Something isn't working label Nov 6, 2023
@nathanhoad
Copy link
Owner

Thanks 👍

@nathanhoad nathanhoad changed the title Add bind_node to player node to fix paused process behavior Fix fade behaviour when tree is paused Nov 6, 2023
@nathanhoad nathanhoad merged commit 602fc4b into nathanhoad:main Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants