I guess Pause
is called somewhere in initialize_life
? If so, that’s the problem! For get_tree
to work, you first have to add the respective node to a tree. That is, you would have to call add_child(thing2)
before setup.initialize_life(DNA, food)
.
2 Likes