feat: add table for backing up radar data when the player becomes a passenger

This commit is contained in:
Dan
2021-03-10 16:26:00 +00:00
parent e97fedf81f
commit 84e1e41df4

View File

@@ -310,6 +310,15 @@ RADAR.sorting = {
fastest = function( a, b ) return a.speed > b.speed end fastest = function( a, b ) return a.speed > b.speed end
} }
-- Used to back up the operator menu and antenna data when the player becomes a passenger
RADAR.backupData = {
om = nil,
antennas = {
["front"] = nil,
["rear"] = nil
}
}
--[[---------------------------------------------------------------------------------- --[[----------------------------------------------------------------------------------
Radar sync functions Radar sync functions