|Topic was automatically imported from the old Question2Answer platform.
I call this code when the player leaves a collision body:
if dialoguebar != null:
If the player walks back into that body, then walks out, I get the error in the title:
Attempt to Call Function "Queue_Free" in base 'previously freed instance' on a null instance
Why does this happen? Shouldn’t the if statement check if the dialoguebar exists and not call queue_free if it doesn’t? Am I doing something wrong here?
Thanks in advance!