change: remove omni auto-hack range cap (companion decoding costs the player no charges per user; nearest decoding objective anywhere wins, 30s per-object retry blacklist still guards loop-de-loop)

This commit is contained in:
2026-10-03 15:52:02 -04:00
parent ab5ff1ee49
commit 5ab17ac22e
@@ -279,7 +279,6 @@ local find_hackable_target_unit = function()
return selected_marker_unit, selected_marker_distance return selected_marker_unit, selected_marker_distance
end end
local OMNI_HACK_RANGE = 45
local HACK_RETRY_DELAY = 30 local HACK_RETRY_DELAY = 30
mod._hack_blacklist = mod._hack_blacklist or {} mod._hack_blacklist = mod._hack_blacklist or {}
@@ -319,7 +318,7 @@ local function find_hackable_target_unit_omni()
if diag_samples and #diag_samples < 10 then if diag_samples and #diag_samples < 10 then
diag_samples[#diag_samples + 1] = tostring(distance) diag_samples[#diag_samples + 1] = tostring(distance)
end end
if distance <= OMNI_HACK_RANGE and (not selected_distance or distance < selected_distance) then if not selected_distance or distance < selected_distance then
selected_unit, selected_distance = unit, distance selected_unit, selected_distance = unit, distance
selected_extension = target_extension selected_extension = target_extension
selected_name = "hack_object" selected_name = "hack_object"