Skip to content
Permalink
Browse files

Block traitor taser damage

  • Loading branch information...
Bara committed Mar 9, 2019
1 parent 383ce96 commit dd26f712d16035d5126886095421a05f12acb02d
Showing with 6 additions and 1 deletion.
  1. +6 −1 addons/sourcemod/scripting/ttt/ttt_taser.sp
@@ -548,7 +548,12 @@ public Action OnTraceAttack(int iVictim, int &iAttacker, int &inflictor, float &
}
else
{
damage = g_cTDamage.IntValue + 0.0;
if (g_cTDamage.IntValue == 0)
{
return Plugin_Handled;
}

damage = g_cTDamage.FloatValue;
return Plugin_Changed;
}
}

0 comments on commit dd26f71

Please sign in to comment.
You can’t perform that action at this time.