diff options
author | tpart <tpart120@proton.me> | 2024-06-26 16:22:54 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-06-26 16:22:54 +0200 |
commit | 5d280643f19196d4eab75d2cd0980258fb7af649 (patch) | |
tree | 329cfdbdf15fa6e08f3eef74017d235c95a9c318 | |
parent | 8dfe99686938995c9d1d8ff4499fab31ef61681a (diff) | |
download | hurrycurry-5d280643f19196d4eab75d2cd0980258fb7af649.tar hurrycurry-5d280643f19196d4eab75d2cd0980258fb7af649.tar.bz2 hurrycurry-5d280643f19196d4eab75d2cd0980258fb7af649.tar.zst |
Fix ingame menu redirecting to wrong scene
-rw-r--r-- | client/menu/ingame_menu.gd | 2 | ||||
-rw-r--r-- | client/menu/ingame_menu.tscn | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/client/menu/ingame_menu.gd b/client/menu/ingame_menu.gd index 9987f8ca..4752c382 100644 --- a/client/menu/ingame_menu.gd +++ b/client/menu/ingame_menu.gd @@ -14,7 +14,7 @@ func deact(): hide() func _on_main_menu_pressed(): - get_parent().transition_to("res://menu/main_menu.tscn") + get_parent().transition_to("res://menu/menu_manager.tscn") func _on_quit_pressed(): get_parent().quit() diff --git a/client/menu/ingame_menu.tscn b/client/menu/ingame_menu.tscn index cfd6ebba..f29c7115 100644 --- a/client/menu/ingame_menu.tscn +++ b/client/menu/ingame_menu.tscn @@ -1,9 +1,9 @@ [gd_scene load_steps=10 format=3 uid="uid://lxlgtjm8hw7v"] [ext_resource type="Script" path="res://menu/ingame_menu.gd" id="1_gd1i3"] +[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme/theme.tres" id="1_lb056"] [ext_resource type="Shader" path="res://menu/blur_mix.gdshader" id="1_o42mc"] -[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme/theme.tres" id="1_tm331"] -[ext_resource type="FontFile" uid="uid://bo4vh5xkpvrh1" path="res://menu/theme/font-sansita-swashed.woff2" id="2_4u0ox"] +[ext_resource type="FontFile" uid="uid://bo4vh5xkpvrh1" path="res://menu/theme/font-sansita-swashed.woff2" id="4_27kbu"] [sub_resource type="Animation" id="Animation_8sedy"] length = 0.001 @@ -46,7 +46,7 @@ shader_parameter/mix_amount = 0.3 shader_parameter/color_over = null [sub_resource type="FontVariation" id="FontVariation_ud3l8"] -base_font = ExtResource("2_4u0ox") +base_font = ExtResource("4_27kbu") variation_embolden = 0.5 [node name="IngameMenu" type="Control"] @@ -56,7 +56,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -theme = ExtResource("1_tm331") +theme = ExtResource("1_lb056") script = ExtResource("1_gd1i3") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] |