Skip to content

Commit

Permalink
Correct ReAPI hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Amaroq7 committed Aug 20, 2017
1 parent 56c049c commit 50af66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amxmodx/scripting/ctw.sma
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public plugin_init()
register_logevent("OnBombDefused", 3, "2=Defused_The_Bomb");

#if defined REAPI_SUPPORT
RegisterHookChain(RG_CBasePlayer_Spawn, "CBasePlayerSpawnPost", 1);
RegisterHookChain(RG_CBasePlayer_Killed, "CBasePlayerKilledPost", 1);
#else
RegisterHamPlayer(Ham_Killed, "CBasePlayerKilledPost", 1);
#endif
Expand Down

0 comments on commit 50af66e

Please # to comment.