diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index e1753753e..5c183a17d 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -152,6 +152,7 @@ volatile int cur_time; volatile bool runCounters; bool isSafeMode = false; int serverVersion; +int start_time; /** * Advances game logic counter. @@ -535,6 +536,8 @@ Client::Client(const Options &options): optionChanged("fpslimit"); + start_time = time(NULL); + // Initialize PlayerInfo PlayerInfo::init(); } |