Created ESCGame class to force game.tscn scene to have empty functions by inheritance.
Also continued some tests about tooltip following mouse. Fixed project settings wrongly set.
This commit is contained in:
@@ -4,7 +4,7 @@ extends Node
|
||||
# This scene sets up the main menu scene to load.
|
||||
|
||||
func _ready():
|
||||
var main_menu_path = ProjectSettings.get_setting("escoria/main/main_menu_scene")
|
||||
var main_menu_path = ProjectSettings.get_setting("escoria/ui/main_menu_scene")
|
||||
var main_menu_scene = load(main_menu_path).instance()
|
||||
get_tree().get_root().call_deferred("add_child", main_menu_scene)
|
||||
escoria.set_main_menu(main_menu_scene)
|
||||
|
||||
Reference in New Issue
Block a user