From: Perttu Ahola Date: Sat, 3 Dec 2011 10:02:27 +0000 (+0200) Subject: On SIGINT in main menu, don't connect before shutting down X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=871e6c0c73d31420a7a3521ddef517198b97f1f8;p=zefram%2Fminetest%2Fminetest_engine.git On SIGINT in main menu, don't connect before shutting down --- diff --git a/src/main.cpp b/src/main.cpp index 11e1a8dc..b7c3ceff 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; /*