Fix tooltip_node wrong references (#332)

* Created a signal room_ready in ESCMain to notify ESCTooltip that it is ready.
Fixes #302

* docs: Automatic update of API docs

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
This commit is contained in:
Julian Murgia
2021-07-29 07:53:44 +02:00
committed by GitHub
parent 387d20ba92
commit 2c8107964c
10 changed files with 201 additions and 48 deletions

View File

@@ -3,6 +3,10 @@ extends Node
# This script is basically the scene-switcher.
signal room_ready
# Global id of the last scene the player was before current scene
var last_scene_global_id: String
@@ -46,6 +50,8 @@ func set_scene(p_scene: Node) -> void:
check_game_scene_methods()
set_camera_limits()
emit_signal("room_ready")
# Cleanup the current scene