Make global timestamp const

Should never change once initialized.
This commit is contained in:
Kawe Mazidjatari 2023-04-08 16:11:25 +02:00
parent d49f252f4d
commit f5a86f7087

View File

@ -118,8 +118,6 @@
#include "tier0/dbg.h"
#endif // !SDKLAUNCHER && !NETCONSOLE && !PLUGINSDK
inline string g_ProcessTimestamp = CreateTimedFileName();
#if !defined(SDKLAUNCHER) && !defined (NETCONSOLE) && !defined(PLUGINSDK)
#if !defined (DEDICATED)
inline CModule g_GameDll = CModule("r5apex.exe");
@ -135,6 +133,7 @@ inline CModule g_SDKDll = CModule("client.dll");
inline CModule g_GameDll = CModule("r5apex_ds.exe");
inline CModule g_SDKDll = CModule("dedicated.dll");
#endif // !DEDICATED
inline const string g_ProcessTimestamp = CreateTimedFileName();
#define VAR_NAME(varName) #varName