From 138b6ddd4664d0ed2e5b4b1b5cc84d809f005529 Mon Sep 17 00:00:00 2001 From: ineedbots Date: Wed, 19 May 2021 22:48:54 -0600 Subject: [PATCH] fixed remote sentry --- maps/mp/bots/_bot_script.gsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maps/mp/bots/_bot_script.gsc b/maps/mp/bots/_bot_script.gsc index 906222a..5c57d97 100644 --- a/maps/mp/bots/_bot_script.gsc +++ b/maps/mp/bots/_bot_script.gsc @@ -3454,7 +3454,7 @@ bot_turret_think() facing = false; if(self _hasPerk("specialty_blindeye")) facing = false; - if (turret.sentryType == "sam_turret") + if (!isDefined(turret.sentryType) || turret.sentryType == "sam_turret") facing = false; if ( facing && !BulletTracePassed( myEye, turret.origin + ( 0, 0, 15 ), false, turret ) )