From 97a95e67ca713a306ae76f2d9bb804543f3c991d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 3 May 2014 20:15:49 +0300 Subject: Fix timers before connecting to server. --- src/client.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/client.cpp') 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(time(nullptr)); int k = 0; while (lastTickTime != tick_time && k < 40) { -- cgit v1.2.3-60-g2f50