diff options
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/server.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/server.cc b/src/server/server.cc index 8dcbb65..69e8923 100644 --- a/src/server/server.cc +++ b/src/server/server.cc @@ -79,11 +79,14 @@ void Server::run() timer.mark(); frame(elapsed); elapsed = timer.elapsed(); - + + /* if (elapsed < server_framerate) { sys::sleep(server_framerate - elapsed); + elapsed = server_framerate; } + */ } } |