2
0
mirror of https://github.com/rehlds/reapi.git synced 2025-01-16 00:28:17 +03:00

Fix callback KeyValue didn't set meta result.

This commit is contained in:
s1lentq 2016-12-18 18:31:39 +07:00
parent 33f85c765a
commit a6ad16fe85
2 changed files with 4 additions and 0 deletions

View File

@ -929,6 +929,8 @@ enum ScenarioEventEndRound
ROUND_TERRORISTS_NOT_ESCAPED,
ROUND_VIP_NOT_ESCAPED,
ROUND_GAME_COMMENCE,
ROUND_GAME_RESTART,
ROUND_GAME_OVER
};
enum PLAYER_ANIM

View File

@ -71,6 +71,8 @@ void KeyValue(edict_t *pentKeyvalue, KeyValueData *pkvd)
g_pEdicts = pentKeyvalue;
g_pFunctionTable->pfnKeyValue = nullptr;
}
SET_META_RESULT(MRES_IGNORED);
}
CGameRules *InstallGameRules(IReGameHook_InstallGameRules *chain)