crystal-bit / godot-game-template

Generic template for Godot games
MIT License
598 stars 47 forks source link

Can't pause new scenes in _ready() #56

Closed davcri closed 2 years ago

davcri commented 2 years ago

As reported in https://github.com/crystal-bit/godot-game-template/issues/54#issuecomment-1039188928, users can't pause the game in _ready().


This behaviour is probably a bug due to:

# main.gd
func _on_Scenes_change_finished():
    get_tree().paused = false

https://github.com/crystal-bit/godot-game-template/blob/main/scenes/main/main.gd#L100-L101