diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-11-21 09:37:32 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-11-21 09:37:32 +0200 |
| commit | 691d9967bd9fac6c3b0e272d3c91f60ba077104a (patch) | |
| tree | c5582ae0f33f2da9dd4293d20c7f6c85dba8236d /esc_listener.gd | |
| parent | a2ed86861122d25f0d4fe1ce7a8ec31429a134b2 (diff) | |
Refactor transitions
Diffstat (limited to 'esc_listener.gd')
| -rw-r--r-- | esc_listener.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/esc_listener.gd b/esc_listener.gd index c0b276a..a10d9d6 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.transition_to_room("res://room_main_menu.tscn", null) + top.room_transition(null, "res://room_main_menu.tscn", null) |
