Skip to content

Commit

Permalink
Fix /shutdown or ^C no longer causing server exit
Browse files Browse the repository at this point in the history
Broken since b8484ef
  • Loading branch information
sfan5 committed Mar 19, 2017
1 parent 3c4ac70 commit 525d2a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server.cpp
Expand Up @@ -3569,6 +3569,9 @@ void dedicated_server_loop(Server &server, bool &kill)
}
server.step(steplen);

if (server.getShutdownRequested() || kill)
break;

/*
Profiler
*/
Expand Down

0 comments on commit 525d2a0

Please sign in to comment.