Permalink
Browse files

Fix turret take damage bug

  • Loading branch information...
Bara committed Jun 10, 2018
1 parent 4db07a2 commit e0451c8f3d54f4b8b8bb57f4cb4b860147d359af
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/sourcemod/scripting/turret_core.sp
@@ -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;
}

0 comments on commit e0451c8

Please sign in to comment.