This commit is contained in:
anyreso 2026-03-16 03:45:20 -04:00
parent a99473a35d
commit c75f17dfe9
2 changed files with 5 additions and 6 deletions

View file

@ -12,6 +12,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
## 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)

View file

@ -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")]