fixed main menu not working after exit from survival
This commit is contained in:
parent
5ee74f471e
commit
c15a08b5a1
1 changed files with 13 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=13 format=3 uid="uid://bfstrli64u23y"]
|
||||
[gd_scene load_steps=14 format=3 uid="uid://bfstrli64u23y"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dvldjlg0nr355" path="res://assets/sprites/atlases/atlas1.png" id="1_jk1qb"]
|
||||
[ext_resource type="Script" uid="uid://drru785m4eep" path="res://scripts/components/gui/main_menu_rich_text.gd" id="2_5dd4i"]
|
||||
|
|
@ -11,6 +11,16 @@
|
|||
[ext_resource type="AudioStream" uid="uid://bdx83fokp6kha" path="res://assets/audio/sfx/buttonclick.mp3" id="8_5pajh"]
|
||||
[ext_resource type="AudioStream" uid="uid://djgyc7bbwcepp" path="res://assets/audio/music/Александр Зацепин - Увертюра.mp3" id="9_j7ex8"]
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_5dd4i"]
|
||||
resource_name = "main_menu"
|
||||
script/source = "extends Control
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
get_tree().paused = false
|
||||
Engine.time_scale = 1.0
|
||||
"
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5pe7g"]
|
||||
atlas = ExtResource("1_jk1qb")
|
||||
region = Rect2(226, 77, 18, 18)
|
||||
|
|
@ -23,12 +33,14 @@ texture_margin_right = 6.0
|
|||
texture_margin_bottom = 6.0
|
||||
|
||||
[node name="MainMenu" type="Control"]
|
||||
process_mode = 3
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = SubResource("GDScript_5dd4i")
|
||||
|
||||
[node name="PrototypeWindow" type="AcceptDialog" parent="."]
|
||||
title = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue