Open
Description
I'm submitting a...
- [ x] Bug report.
Bug report
What is the current behavior?
If the player quickly hooks a hook target a few times in a row the player shrinks itself and the game crashes.
What is the expected behavior?
The game doesn't crashes when the player quickly hooks a hook target a few times in a row.
Tell us the steps to reproduce the bug, and if possible share a minimal demo of the problem.
- Start the game
- Quickly hook a hook target a few times in a row.
Other
Stacktrace
E 0:00:00.764 get_global_transform: Condition "!is_inside_tree()" is true. Returned: get_transform() <C++ Source> scene/2d/canvas_item.cpp:483 @ get_global_transform() <Stack Trace> LevelLoader.gd:37 @ trigger() LevelLoader.gd:16 @ setup() Game.gd:13 @ _ready()
Possible solution
add a cooldown to the hook.