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

Error when using the automatic turn duration #6

Open
ScribeAmanuesis opened this issue Feb 28, 2024 · 0 comments
Open

Error when using the automatic turn duration #6

ScribeAmanuesis opened this issue Feb 28, 2024 · 0 comments

Comments

@ScribeAmanuesis
Copy link

Describe the bug
When enabling automatic turn duration and adding sockets to a node that is not a direct child of the TurnityManager, the error "Cannot call method 'is_inside_tree' on a null value" occurs

To Reproduce
Steps to reproduce the behavior:

  1. Create a scene with two nodes: one that will be the TurnityManager and an other_node
  2. Create a Turnity Manager with the below code:
    TurnityManager.set_serial_mode()
    .set_turn_duration(30)
    .automatically_move_on_to_the_next_turn(true)
    .start(other_node)
  3. Add turnity sockets a child of the other_node without altering the settings

image

Expected behavior
Each node will be given the turn duration set by the Turnity Manager

Desktop (please complete the following information):

  • OS: Linux Mint
  • Version Godot 4.2.1

Additional context
This seems to be related to the timers on the TurnitySockets not being created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant