Fix: disable ESCGame inputs until signal room_ready is emitted (#582)

* Fix: disable ESCGame inputs until signal room_ready is emitted
* fix: add a new function to use in _input() to check for inputs

* Apply suggestions from code review
Co-authored-by: balloonpopper <5151242+balloonpopper@users.noreply.github.com>
Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca>
This commit is contained in:
Julian Murgia
2022-04-30 20:10:14 +02:00
committed by GitHub
parent 0414833c6d
commit 8a58aa7efc
4 changed files with 32 additions and 5 deletions

View File

@@ -90,8 +90,8 @@ func set_scene_finish() -> void:
current_scene.visible = true
clear_previous_scene()
emit_signal("room_ready")
# Cleanup the previous scene if there was one.