mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-08 02:48:30 +00:00
Fix.
This commit is contained in:
parent
66127f6d98
commit
5f1f405956
@ -142,7 +142,9 @@ CON_COMMAND(meta, "Metamod:Source Menu")
|
|||||||
return;
|
return;
|
||||||
} else if (strcmp(command, "version") == 0) {
|
} else if (strcmp(command, "version") == 0) {
|
||||||
CONMSG("Metamod:Source version %s\n", METAMOD_VERSION);
|
CONMSG("Metamod:Source version %s\n", METAMOD_VERSION);
|
||||||
|
#if defined(MMS_GENERATED_BUILD)
|
||||||
CONMSG("Built from: https://github.com/alliedmodders/metamod-source/commit/%s\n", METAMOD_BUILD_SHA);
|
CONMSG("Built from: https://github.com/alliedmodders/metamod-source/commit/%s\n", METAMOD_BUILD_SHA);
|
||||||
|
#endif
|
||||||
CONMSG("Build ID: %s:%s\n", METAMOD_BUILD_LOCAL_REV, METAMOD_BUILD_SHA);
|
CONMSG("Build ID: %s:%s\n", METAMOD_BUILD_LOCAL_REV, METAMOD_BUILD_SHA);
|
||||||
if (g_GameDll.loaded)
|
if (g_GameDll.loaded)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -70,7 +70,9 @@ bool Command_Meta(IMetamodSourceCommandInfo *info)
|
|||||||
else if (strcmp(command, "version") == 0)
|
else if (strcmp(command, "version") == 0)
|
||||||
{
|
{
|
||||||
CONMSG("Metamod:Source version %s\n", METAMOD_VERSION);
|
CONMSG("Metamod:Source version %s\n", METAMOD_VERSION);
|
||||||
|
#if defined(MMS_GENERATED_BUILD)
|
||||||
CONMSG("Built from: https://github.com/alliedmodders/metamod-source/commit/%s\n", METAMOD_BUILD_SHA);
|
CONMSG("Built from: https://github.com/alliedmodders/metamod-source/commit/%s\n", METAMOD_BUILD_SHA);
|
||||||
|
#endif
|
||||||
CONMSG("Build ID: %s:%s\n", METAMOD_BUILD_LOCAL_REV, METAMOD_BUILD_SHA);
|
CONMSG("Build ID: %s:%s\n", METAMOD_BUILD_LOCAL_REV, METAMOD_BUILD_SHA);
|
||||||
|
|
||||||
if (g_Metamod.IsLoadedAsGameDLL())
|
if (g_Metamod.IsLoadedAsGameDLL())
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user