From 7b59b7f384bcec0e238b3037dde698e34454f3bf Mon Sep 17 00:00:00 2001 From: SystematicMania Date: Tue, 3 Jun 2014 15:55:25 -0400 Subject: [PATCH] Fix "sm version" command reporting incorrect compile time in many cases (bug 6078, r=asherkin). --- core/sm_srvcmds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/sm_srvcmds.cpp b/core/sm_srvcmds.cpp index 8b3665f5..e1dd46b1 100644 --- a/core/sm_srvcmds.cpp +++ b/core/sm_srvcmds.cpp @@ -339,7 +339,7 @@ void RootConsoleMenu::OnRootConsoleCommand(const char *cmdname, const CCommand & else ConsolePrint(" SourcePawn Engine: %s (build %s NO JIT)", g_pSourcePawn2->GetEngineName(), g_pSourcePawn2->GetVersionString()); ConsolePrint(" SourcePawn API: v1 = %d, v2 = %d", g_pSourcePawn->GetEngineAPIVersion(), g_pSourcePawn2->GetAPIVersion()); - ConsolePrint(" Compiled on: %s %s", __DATE__, __TIME__); + ConsolePrint(" Compiled on: %s", SOURCEMOD_BUILD_TIME); #if defined(SM_GENERATED_BUILD) ConsolePrint(" Built from: https://github.com/alliedmodders/sourcemod/commit/%s", SOURCEMOD_SHA); ConsolePrint(" Build ID: %s:%s", SOURCEMOD_LOCAL_REV, SOURCEMOD_SHA);