diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-11-18 02:13:51 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-11-18 02:13:51 +0100 |
| commit | 67bb665a0f3fb71eada0924090b3aa606175299d (patch) | |
| tree | ae51a6806c2bef1c6d21f93fbc558133ba40a588 | |
| parent | 14e13d031a4fe4af2463ee33fe06be897417a310 (diff) | |
| download | nj26-67bb665a0f3fb71eada0924090b3aa606175299d.tar.gz | |
credits.gd: Call set_music_pos after adding the scene
| -rw-r--r-- | credits.gd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,8 +3,8 @@ extends Node2D func back(): var mainmenu = load("res://mainmenu.tscn").instance() - mainmenu.set_music_pos($music.get_playback_position()) get_tree().root.add_child(mainmenu) + mainmenu.set_music_pos($music.get_playback_position()) get_tree().root.remove_child(self) func set_music_pos(pos): |
