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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user