• Godot Help
  • why is the queue free function being called instantly?

can someone tell me why when i open a scene with my enemy scene on it, it calls the queue_free function instantly.
Here is the code:

  • Because there's nothing else going on keeping things busy and so it's safe to free the one and only thing in queue for it? But also you are calling die() from ready.

Because there's nothing else going on keeping things busy and so it's safe to free the one and only thing in queue for it? But also you are calling die() from ready.

    I think you need to put that pass under _ready() instead of die().