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.
die()
Megalomaniak you are calling die() from ready.
Exactly. That doesn't make sense.
Megalomaniak thank you
I think you need to put that pass under _ready() instead of die().
pass
_ready()