From 316eb12521486ef042f2dda23acbee8983b34ace Mon Sep 17 00:00:00 2001 From: Sterling Parker Date: Sat, 14 Mar 2020 13:27:19 -0600 Subject: [PATCH] Stealth: increase minimum distance for nearby lights. --- modules/ai/stealth.zsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ai/stealth.zsc b/modules/ai/stealth.zsc index f5532d64..2078c099 100644 --- a/modules/ai/stealth.zsc +++ b/modules/ai/stealth.zsc @@ -63,7 +63,7 @@ class UaS_StealthHandler : Inventory { } // Intensify lights close to player - if (currentDistance < owner.radius) { avgIntensity *= 100; } + if (currentDistance < owner.radius * 3) { avgIntensity *= 100; } // Special handling for Steve's Flashlight // This is a disgusting hack, BTW