From 14c045546cb889a48b103c9d1d3aa3f78c90be0b Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 25 Apr 2026 18:04:29 +0200 Subject: [PATCH] Require player visibility when resolving runtime target candidates --- src/runtime-three/runtime-host.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index b8bf53eb..9b53db3f 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -5928,7 +5928,8 @@ export class RuntimeHost { const replacementTarget = this.resolveRuntimeTargetCandidateNearestScreenCenter({ exclude: this.activeRuntimeTargetReference, - maxDistanceFromPlayer: TARGETING_AUTO_RETARGET_SAFE_DISTANCE + maxDistanceFromPlayer: TARGETING_AUTO_RETARGET_SAFE_DISTANCE, + requirePlayerVisibility: true }); if (replacementTarget !== null) {