Skip to content

Commit

Permalink
Fix all players get Damage Reduction/Boost
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexer10 committed Jul 1, 2018
1 parent 6d0a2ae commit a32561a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/hexvips.sp
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ public Action OnTraceAttack(int victim, int &attacker, int &inflictor, float &da
if (!cv_bPluginEnable.BoolValue)
return Plugin_Continue;

if (!IsValidClient(attacker, true, false) && (victim == attacker) && !HexVips_IsClientVip(attacker))
if (!IsValidClient(attacker, true, false) || (victim == attacker) || !HexVips_IsClientVip(attacker))
return Plugin_Continue;

if (bIsMYJBAvaible && cv_bDisableOnEventday.BoolValue)
Expand Down

0 comments on commit a32561a

Please sign in to comment.