From 9d54180de8304a0db738b3e8dd6395e16455a92a Mon Sep 17 00:00:00 2001 From: Dan Date: Mon, 16 Dec 2019 20:26:10 +0000 Subject: [PATCH] Update cl_radar.lua --- cl_radar.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cl_radar.lua b/cl_radar.lua index 22fd60e..f9adb37 100644 --- a/cl_radar.lua +++ b/cl_radar.lua @@ -287,8 +287,10 @@ end -- Sends an update to the NUI side with the current state of the antennas and if the fast system is enabled function RADAR:SendSettingUpdate() + -- Create a table to store the setting information for the antennas local antennas = {} + -- Iterate through each antenna and grab the relevant information for ant in UTIL:Values( { "front", "rear" } ) do antennas[ant] = {} antennas[ant].xmit = self:IsAntennaTransmitting( ant )