mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Fix /shutdown or ^C no longer causing server exit
Broken since b8484ef24e8e1ec90a2967372808ab2bea538c7c
This commit is contained in:
parent
3c4ac70348
commit
525d2a0d51
@ -3569,6 +3569,9 @@ void dedicated_server_loop(Server &server, bool &kill)
|
||||
}
|
||||
server.step(steplen);
|
||||
|
||||
if (server.getShutdownRequested() || kill)
|
||||
break;
|
||||
|
||||
/*
|
||||
Profiler
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user