When a certain condition in the game is met, I want to pause the game for few seconds and then restart.
In a node where this condition is checked (called ReleaseArea), I call
$Timer.start() and tight after that
timeout signal is connected to this node, and in that callback I call
I also set the timer not to pause.
In the debugger I can see that the function is called, also the scene is reloaded, but the tree is not resumed, like
get_tree().set_pause(false) had no effect.
I also tried the 3.0 way -
get_tree().paused = false/true.
export var seconds_left = 5.0
seconds_left = max(0.0, seconds_left - delta)
if (seconds_left == 0):