Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/gameserver.cc')
-rw-r--r--src/core/gameserver.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/gameserver.cc b/src/core/gameserver.cc
index 5e1165d..14f97bb 100644
--- a/src/core/gameserver.cc
+++ b/src/core/gameserver.cc
@@ -541,6 +541,9 @@ void GameServer::frame(float seconds)
// copy the previous entity state to the client state
if (!Cvar::sv_dedicated->value()) {
reset_clientstate(server_time, server_previoustime);
+ } else {
+ game_serverframetime = server_time;
+ game_previousframetime = server_previoustime;
}
// run a time frame on each entity