Permalink
Browse files

Close #388

  • Loading branch information...
Bara committed Nov 2, 2018
1 parent ee42ff0 commit c4a8608563e1595a12b88e9fc530f4dba5c87eac
Showing with 6 additions and 1 deletion.
  1. +6 −1 addons/sourcemod/scripting/ttt/ttt_taser.sp
@@ -409,11 +409,16 @@ public Action OnTraceAttack(int iVictim, int &iAttacker, int &inflictor, float &
return Plugin_Continue;
}
if (!g_bTaser[iAttacker] || g_hCooldown != null)
if (!g_bTaser[iAttacker])
{
return Plugin_Continue;
}
if (g_hCooldown != null)
{
return Plugin_Handled;
}
if (g_cInflictor.BoolValue && iAttacker != inflictor)
{
return Plugin_Continue;

0 comments on commit c4a8608

Please sign in to comment.