[email protected] 8 years ago
parent
commit
440a488778
1 changed files with 1 additions and 1 deletions
  1. 1 1
      oxygine/src/core/log.cpp

+ 1 - 1
oxygine/src/core/log.cpp

@@ -41,9 +41,9 @@ namespace oxygine
 
     namespace log
     {
-        int64 startTime = getTimeUTCMS();
         int getTime()
         {
+            static int64 startTime = getTimeUTCMS();
             return getTimeUTCMS() - startTime;
         }