mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Fix /shutdown or ^C no longer causing server exit
Broken since b8484ef24e
This commit is contained in:
parent
3c4ac70348
commit
525d2a0d51
1 changed files with 3 additions and 0 deletions
|
@ -3569,6 +3569,9 @@ void dedicated_server_loop(Server &server, bool &kill)
|
|||
}
|
||||
server.step(steplen);
|
||||
|
||||
if (server.getShutdownRequested() || kill)
|
||||
break;
|
||||
|
||||
/*
|
||||
Profiler
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue