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:
@@ -279,7 +279,6 @@ local find_hackable_target_unit = function()
|
||||
return selected_marker_unit, selected_marker_distance
|
||||
end
|
||||
|
||||
local OMNI_HACK_RANGE = 45
|
||||
local HACK_RETRY_DELAY = 30
|
||||
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
|
||||
diag_samples[#diag_samples + 1] = tostring(distance)
|
||||
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_extension = target_extension
|
||||
selected_name = "hack_object"
|
||||
|
||||
Reference in New Issue
Block a user