Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/server.cc5
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;
}
+ */
}
}