summaryrefslogtreecommitdiffstats
path: root/esc_listener.gd
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-11-19 17:52:38 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-11-19 17:54:08 +0200
commit64ef25975e570a574e2d8889a7f290032acde740 (patch)
tree9aab2b93d3c705a49b11a46f1c0c85e12399c971 /esc_listener.gd
parent9ffb1eff073872df449a957c20154b9cc77f7ef7 (diff)
Add fade-to-black room transition
Diffstat (limited to 'esc_listener.gd')
-rw-r--r--esc_listener.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/esc_listener.gd b/esc_listener.gd
index a7b36a8..cc25f4a 100644
--- a/esc_listener.gd
+++ b/esc_listener.gd
@@ -4,4 +4,4 @@ extends Node
func _process(_delta: float) -> void:
if Input.is_action_just_pressed("menu"):
- top.change_room("main_menu")
+ top.transition_to_room("main_menu")