summaryrefslogtreecommitdiff
path: root/mainmenu.gd
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-11-15 13:26:05 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2026-11-15 13:26:05 +0100
commitc911e1cc29b1a6782cb9c8429ad69fe5837650fc (patch)
treebf86a3ec18459bfeb7eb4d5846bffa6ba7b12931 /mainmenu.gd
parent3e5933fb43778707d7a53071a7243e6f31cc7e26 (diff)
downloadnj26-c911e1cc29b1a6782cb9c8429ad69fe5837650fc.tar.gz
safjfaafsafsijfaosjisafjf
Diffstat (limited to 'mainmenu.gd')
-rw-r--r--mainmenu.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/mainmenu.gd b/mainmenu.gd
index aff4551..654c274 100644
--- a/mainmenu.gd
+++ b/mainmenu.gd
@@ -10,6 +10,7 @@ func start():
func run_credits():
get_tree().root.add_child(credits)
+ credits.set_music_pos($music.get_playback_position())
get_tree().root.remove_child(self)
func set_music_pos(pos):