summaryrefslogtreecommitdiff
path: root/UI/HUD/CancelButton.gd
diff options
context:
space:
mode:
Diffstat (limited to 'UI/HUD/CancelButton.gd')
-rw-r--r--UI/HUD/CancelButton.gd5
1 files changed, 5 insertions, 0 deletions
diff --git a/UI/HUD/CancelButton.gd b/UI/HUD/CancelButton.gd
new file mode 100644
index 0000000..51b146b
--- /dev/null
+++ b/UI/HUD/CancelButton.gd
@@ -0,0 +1,5 @@
+extends Button
+
+
+func _on_CancelButton_pressed():
+ Global.cancel_level()