svn merge -r 30323:30417 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender.git] / source / creator / creator.c
index 283511ef3ffabfae3890fb49495845122f45eaac..77961ec4d809ad602e9f9b99ff08674ff0589683 100644 (file)
@@ -1138,7 +1138,8 @@ int main(int argc, char **argv)
 
        else {
                if((G.fileflags & G_FILE_AUTOPLAY) && (G.f & G_SCRIPT_AUTOEXEC))
-                       WM_init_game(C);
+                       if(WM_init_game(C))
+                               return 0;
 
                else if(!G.file_loaded)
                        WM_init_splash(C);