From 06ce6a6b1831832d320aab7b6186af094cab4b41 Mon Sep 17 00:00:00 2001 From: Xottab-DUTY Date: Mon, 30 Apr 2018 04:55:56 +0500 Subject: [PATCH] xrCore: calculate build id once --- src/xrCore/xrCore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrCore/xrCore.cpp b/src/xrCore/xrCore.cpp index 1b30b326f95..e1eabb0c76b 100644 --- a/src/xrCore/xrCore.cpp +++ b/src/xrCore/xrCore.cpp @@ -18,10 +18,10 @@ static u32 init_counter = 0; void xrCore::Initialize(pcstr _ApplicationName, LogCallback cb, bool init_fs, pcstr fs_fname, bool plugin) { - CalculateBuildId(); xr_strcpy(ApplicationName, _ApplicationName); if (0 == init_counter) { + CalculateBuildId(); PluginMode = plugin; // Init COM so we can use CoCreateInstance // HRESULT co_res =