summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 023b17c3f..4d8f79eab 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1002,6 +1002,7 @@ int Client::gameExec()
BLOCK_START("Client::gameExec 4")
if (gui)
gui->logic();
+ cur_time = static_cast<int>(time(nullptr));
int k = 0;
while (lastTickTime != tick_time && k < 40)
{