From ec5dbcb8c2be6c1d700fcd723eb78681235a2ec2 Mon Sep 17 00:00:00 2001 From: zaCade Date: Sun, 3 Mar 2019 12:45:09 +0100 Subject: [PATCH] MapHooks: Fix compiler error. --- zr_maphooks/scripting/zr_maphooks.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zr_maphooks/scripting/zr_maphooks.sp b/zr_maphooks/scripting/zr_maphooks.sp index 47c25625..7b2b3028 100644 --- a/zr_maphooks/scripting/zr_maphooks.sp +++ b/zr_maphooks/scripting/zr_maphooks.sp @@ -44,7 +44,7 @@ public void OnConVarChanged(ConVar convar, const char[] oldValue, const char[] n g_PlayerShotCount = g_CVar_PlayerShotCount.IntValue; } -public int ZR_OnClientInfected(int client, int attacker, bool motherInfect, bool respawnOverride, bool respawn) +public void ZR_OnClientInfected(int client, int attacker, bool motherInfect, bool respawnOverride, bool respawn) { if(g_bZRInfectKill && !motherInfect) {