#when I do get_tree()reload curent scene all the scene freeze.

2 messages · Page 1 of 1 (latest)

slim drift
tacit jasper
# slim drift

2 things I do with reloads:

  • call them deferred get_tree().reload_current_scene.call_deferred()
  • don't run any code after it's called. So you could add a return after calling resetfunc()

Chances are it'll work even if you only choose one of these options