mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 08:26: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
|
||||||
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()
|
function RADAR:GetBackupOMData()
|
||||||
return self.backupData.om
|
return self.backupData.om
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user