On SIGINT in main menu, don't connect before shutting down

master
Perttu Ahola 2011-12-03 12:02:27 +02:00
parent 392485aa45
commit 871e6c0c73
1 changed files with 1 additions and 1 deletions

View File

@ -1631,7 +1631,7 @@ int main(int argc, char *argv[])
}
// Break out of menu-game loop to shut down cleanly
if(device->run() == false)
if(device->run() == false || kill == true)
break;
/*