mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-07-16 14:12:47 +00:00
#INTEL add rcs info to contact data
This commit is contained in:
@@ -1270,6 +1270,15 @@ function INTEL:_UpdateContact(Contact)
|
||||
else
|
||||
Contact.maneuvering = false
|
||||
end
|
||||
local typename = Contact.group:GetTypeName()
|
||||
local base_rcs = INTEL.RCS_Table[typename]
|
||||
|
||||
if not base_rcs then
|
||||
-- Fallback: category default
|
||||
local cat = Contact.group:GetCategory()
|
||||
base_rcs = (cat and INTEL.RCS_CategoryDefault[cat]) or INTEL.RCS_Reference
|
||||
end
|
||||
Contact.rcs = base_rcs
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user