diff --git a/autoloads/game.gd b/autoloads/game.gd index 0ef46f9..4c84944 100644 --- a/autoloads/game.gd +++ b/autoloads/game.gd @@ -12,6 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . +## Game extends Node ## The list of available maps. @@ -21,13 +22,11 @@ extends Node ## The [Map] instance @export var map:Map -## The [Environment] used to keep track of user [Settings]. +## The environment used to keep track of user [Settings]. var environment := Environment.new() signal exit - - func change_scene_to_packed(packed:PackedScene) -> Node: var tree:SceneTree = get_tree() tree.change_scene_to_packed(packed) diff --git a/scenes/main.tscn b/scenes/main.tscn index 33f66b7..8e84db9 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=3 format=3 uid="uid://dr8salxjlpsba"] +[gd_scene format=3 uid="uid://dr8salxjlpsba"] [ext_resource type="PackedScene" uid="uid://bjctlqvs33nqy" path="res://scenes/interfaces/menus/boot/boot.tscn" id="1_o5qli"] @@ -88,7 +88,7 @@ func join(host:String = \"localhost\", port:int = 9000) -> bool: return true " -[node name="Main" type="Node"] +[node name="Main" type="Node" unique_id=113485118] script = SubResource("GDScript_tefeu") -[node name="MainMenu" parent="." instance=ExtResource("1_o5qli")] +[node name="MainMenu" parent="." unique_id=192055836 instance=ExtResource("1_o5qli")]