mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
On SIGINT in main menu, don't connect before shutting down
This commit is contained in:
@@ -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;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user