From 9bc74b3a9e2fef5f9ab278e4d0c4c9c1cc5b1f12 Mon Sep 17 00:00:00 2001 From: tpart Date: Sun, 7 Jul 2024 19:18:13 +0200 Subject: Add cancel game button --- client/menu/ingame.tscn | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'client/menu/ingame.tscn') diff --git a/client/menu/ingame.tscn b/client/menu/ingame.tscn index f704f348..0ed86884 100644 --- a/client/menu/ingame.tscn +++ b/client/menu/ingame.tscn @@ -102,6 +102,11 @@ layout_mode = 2 text = "Resume" alignment = 0 +[node name="Lobby" type="Button" parent="Side/Margin/Options"] +layout_mode = 2 +text = "Cancel game" +alignment = 0 + [node name="Reconnect" type="Button" parent="Side/Margin/Options"] layout_mode = 2 text = "Reconnect" @@ -123,6 +128,7 @@ text = "Quit game" alignment = 0 [connection signal="pressed" from="Side/Margin/Options/Resume" to="." method="_on_resume_pressed"] +[connection signal="pressed" from="Side/Margin/Options/Lobby" to="." method="_on_lobby_pressed"] [connection signal="pressed" from="Side/Margin/Options/Reconnect" to="." method="_on_reconnect_pressed"] [connection signal="pressed" from="Side/Margin/Options/Settings" to="." method="_on_settings_pressed"] [connection signal="pressed" from="Side/Margin/Options/MainMenu" to="." method="_on_main_menu_pressed"] -- cgit v1.2.3-70-g09d2