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:
parent
33f85c765a
commit
a6ad16fe85
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user