mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16:27 +02:00
feat: add setter for antenna table data
This commit is contained in:
@@ -338,6 +338,13 @@ function RADAR:SetOMTableData( data )
|
||||
end
|
||||
end
|
||||
|
||||
-- Sets the antenna settings table for the given antenna within the radar's main variables table
|
||||
function RADAR:SetAntennaTableData( ant, data )
|
||||
if ( type( data ) == "table" ) then
|
||||
self.vars.antennas[ant] = data
|
||||
end
|
||||
end
|
||||
|
||||
function RADAR:GetBackupOMData()
|
||||
return self.backupData.om
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user