My game has been working fine, until I upgraded from v3.2.3 to v3.4.2
Now I get the following error: "Attempt to call function ‘queue_free’ in base ‘previously freed instance’ on a null base"
Here is my code:
func load_menu(menu_name, menu_settings = {}):
if current_menu:
current_menu.queue_free()