Prevent crash on HLDS lol

This commit is contained in:
s1lent 2017-11-15 22:08:01 +07:00 committed by s1lentq
parent 4ddf4d712c
commit 8261cf56f5
2 changed files with 4 additions and 1 deletions

View File

@ -98,6 +98,9 @@ bool OnMetaAttach()
void OnMetaDetach() void OnMetaDetach()
{ {
if (!g_RehldsFuncs)
return;
cvar_t *pcv_mp_consistency = g_engfuncs.pfnCVarGetPointer("mp_consistency"); cvar_t *pcv_mp_consistency = g_engfuncs.pfnCVarGetPointer("mp_consistency");
// To restore the pointer address of a string // To restore the pointer address of a string

View File

@ -22,7 +22,7 @@ plugin_info_t Plugin_info =
{ {
META_INTERFACE_VERSION, META_INTERFACE_VERSION,
"Rechecker", "Rechecker",
"2.5", "2.6",
__DATE__, __DATE__,
"s1lent", "s1lent",
"http://www.dedicated-server.ru/", "http://www.dedicated-server.ru/",