diff options
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/server.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/server.cc b/src/server/server.cc index d68d278..49af573 100644 --- a/src/server/server.cc +++ b/src/server/server.cc @@ -72,7 +72,7 @@ void Server::run() server::Timer timer; float elapsed = 0; - while(true) { + while(connected()) { timer.mark(); frame(elapsed); elapsed = timer.elapsed(); |