aboutsummaryrefslogtreecommitdiff
path: root/game/src/GameSession/MapControlPanel.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'game/src/GameSession/MapControlPanel.tscn')
-rw-r--r--game/src/GameSession/MapControlPanel.tscn9
1 files changed, 8 insertions, 1 deletions
diff --git a/game/src/GameSession/MapControlPanel.tscn b/game/src/GameSession/MapControlPanel.tscn
index 71d43e7..2a0c971 100644
--- a/game/src/GameSession/MapControlPanel.tscn
+++ b/game/src/GameSession/MapControlPanel.tscn
@@ -1,7 +1,13 @@
-[gd_scene load_steps=2 format=3 uid="uid://g524p8lr574w"]
+[gd_scene load_steps=4 format=3 uid="uid://g524p8lr574w"]
[ext_resource type="Script" path="res://src/GameSession/MapControlPanel.gd" id="1_ign64"]
+[sub_resource type="InputEventAction" id="InputEventAction_5nck3"]
+action = &"ui_cancel"
+
+[sub_resource type="Shortcut" id="Shortcut_fc1tk"]
+events = [SubResource("InputEventAction_5nck3")]
+
[node name="PanelContainer" type="PanelContainer"]
editor_description = "SS-103"
script = ExtResource("1_ign64")
@@ -27,6 +33,7 @@ layout_mode = 2
[node name="GameSessionMenuButton" type="Button" parent="HBoxContainer/AuxiliaryPanel"]
editor_description = "UI-9"
layout_mode = 2
+shortcut = SubResource("Shortcut_fc1tk")
text = "ESC"
[connection signal="pressed" from="HBoxContainer/AuxiliaryPanel/GameSessionMenuButton" to="." method="_on_game_session_menu_button_pressed"]