So I'm have a conditional statement that looks like this:
if movetarget && movetarget.isingroup("player"):
movetarget is a variable and can be null when there is no target, that is what the first part of the condition is for, since it will only check "movetarget.isingroup("player")" when move_target is not null.
However occationally I'll get the error:
"Attempt to call function "isingroup" in base "previously freed instance" on a null instance."
What exactly does this mean? Is it when the node "movetarget" has just gotten "freed" by queuefree()? And it that case isn't that essentially equivelant to null and shouldn't be return false from "if move_target"?
Am I misunderstanding this completely or am I right but there is a reason it returns true.