OSDN Git Service

If asked by the OS to open a file, pass FALSE to new_game().
authorEric Branlund <ebranlund@fastmail.com>
Mon, 26 Aug 2019 23:12:31 +0000 (16:12 -0700)
committerEric Branlund <ebranlund@fastmail.com>
Mon, 26 Aug 2019 23:12:31 +0000 (16:12 -0700)
src/main-cocoa.m

index c6f99de..9c12107 100644 (file)
@@ -3519,6 +3519,7 @@ static void hook_quit(const char * str)
                return NO;
     
     game_in_progress = TRUE;
+    new_game = FALSE;
 
     /* Wake us up in case this arrives while we're sitting at the Welcome
         * screen! */