From d3b18c455afc74728393bdde3b870b6aaf647a75 Mon Sep 17 00:00:00 2001 From: LegendaryGuard Date: Fri, 8 Jul 2022 00:50:13 +0200 Subject: [PATCH] Tesla isn't owner friendly enough in non-team gamemodes, what the hell? :/ --- qcsrc/common/turrets/turret/tesla.qc | 1 - 1 file changed, 1 deletion(-) diff --git a/qcsrc/common/turrets/turret/tesla.qc b/qcsrc/common/turrets/turret/tesla.qc index f90672b65d..4c27bc9acc 100644 --- a/qcsrc/common/turrets/turret/tesla.qc +++ b/qcsrc/common/turrets/turret/tesla.qc @@ -62,7 +62,6 @@ bool turret_tesla_firecheck(entity this) if (turret_validate_target(this, this.enemy, this.target_validate_flags) <= 0) { this.enemy = NULL; - if(turret_select_target(this) == this.realowner) return false; this.target_validate_time = time + 0.5; do_target_scan = 1; } -- 2.39.2