hopefully fixed the crash on exit, keep sectors script bundled in the sector and...
[supertux.git] / data / levels / misc / menu.stl
index da13af4..cfdc5fb 100644 (file)
@@ -6,11 +6,12 @@
     (name "main")
     (music "music/theme.ogg")
     (init-script "
-logo <- FloatingImage("images/objects/logo/logo.sprite");
+logo <- FloatingImage(\"images/objects/logo/logo.sprite\");
 logo.set_anchor_point(ANCHOR_TOP);
 logo.set_pos(0, 30);
 logo.set_visible(true);
-wait(10000);
+// Suspend (this is needed so that logo doesn't get deleted)
+suspend();
 ")
     (background
       (image "images/background/arctis.jpg")