mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-29 20:25:19 +01:00
Fix /shutdown or ^C no longer causing server exit
Broken since b8484ef24e
This commit is contained in:
@@ -3569,6 +3569,9 @@ void dedicated_server_loop(Server &server, bool &kill)
|
|||||||
}
|
}
|
||||||
server.step(steplen);
|
server.step(steplen);
|
||||||
|
|
||||||
|
if (server.getShutdownRequested() || kill)
|
||||||
|
break;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Profiler
|
Profiler
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user