Skip to content

Commit

Permalink
Fix turret take damage bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Bara committed Jun 10, 2018
1 parent 4db07a2 commit e0451c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/turret_core.sp
Expand Up @@ -217,7 +217,7 @@ void CreateTurret(int client)

public Action TurretTakeDamage(int victim, int &attacker, int &inflictor, float &damage, int &damagetype, int &weapon, float damageForce[3], float damagePosition[3], int damagecustom)
{
if (TTT_IsClientValid(attacker))
if (!TTT_IsClientValid(attacker))
{
return Plugin_Continue;
}
Expand Down

0 comments on commit e0451c8

Please sign in to comment.