summaryrefslogtreecommitdiffstats
path: root/room_main_menu.gd
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-11-21 09:37:32 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-11-21 09:37:32 +0200
commit691d9967bd9fac6c3b0e272d3c91f60ba077104a (patch)
treec5582ae0f33f2da9dd4293d20c7f6c85dba8236d /room_main_menu.gd
parenta2ed86861122d25f0d4fe1ce7a8ec31429a134b2 (diff)
Refactor transitions
Diffstat (limited to 'room_main_menu.gd')
-rw-r--r--room_main_menu.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/room_main_menu.gd b/room_main_menu.gd
index cba6d69..fd595a5 100644
--- a/room_main_menu.gd
+++ b/room_main_menu.gd
@@ -7,4 +7,4 @@ func _ready() -> void:
func _test_room_button_pressed():
var top: Top = get_tree().root.get_node("Top")
- top.transition_to_room("res://room_test1.tscn", null)
+ top.room_transition(null, "res://room_test1.tscn", null)