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

HITBOX TIMER #5

Open
codename-12 opened this issue Nov 9, 2023 · 1 comment
Open

HITBOX TIMER #5

codename-12 opened this issue Nov 9, 2023 · 1 comment

Comments

@codename-12
Copy link

i've opened in godot 4.1 and im try debuging and found this error on hitbox code so player cannot hit by bat before he hit twice by bat

E 0:01:12:0201 Hitbox.gd:27 @ _on_body_entered(): Timer was not added to the SceneTree. Either add it or set autostart to true.
<C++ Error> Condition "!is_inside_tree()" is true.
<C++ Source> scene/main/timer.cpp:109 @ start()
Hitbox.gd:27 @ _on_body_entered()

@Oreofreakshake
Copy link

I think instead of the timer.start() you can add timer.autostart = true instead
that should fix the issue

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

2 participants