mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 08:26:27 +02:00
feat: add setter for operator menu settings table
This commit is contained in:
@@ -331,6 +331,13 @@ function RADAR:GetRadarDataForSync()
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Sets the operator menu settings table within the radar's main variables table
|
||||||
|
function RADAR:SetOMTableData( data )
|
||||||
|
if ( type( data ) == "table" ) then
|
||||||
|
self.vars.settings = 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