fix: restore backup function using non-existing variable

This commit is contained in:
Dan
2021-03-11 18:58:57 +00:00
parent 07ad8876e4
commit 5af79b8674

View File

@@ -416,7 +416,7 @@ function RADAR:RestoreFromBackup()
-- Restore the antenna data
if ( antData ~= nil ) then
self:SetAntennaTableData( ant, data[ant] )
self:SetAntennaTableData( ant, antData[ant] )
-- Clear the backup
self:SetBackupAntennaData( ant, nil )