Skip to content

Quickly hooking causes the game to crash #185

Open
@JPCard

Description

@JPCard

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.

  1. Start the game
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions