mirror of
https://github.com/DaKerboul/perun.git
synced 2026-08-09 18:05:40 +02:00
Fixed missing raw data when long slot list.
This commit is contained in:
@@ -238,6 +238,18 @@ Perun.UpdateStatus = function()
|
||||
|
||||
for j, i in pairs(Perun.SlotsData['coalitions']) do
|
||||
Perun.SlotsData['slots'][j]=DCS.getAvailableSlots(j)
|
||||
|
||||
for sj, si in pairs(Perun.SlotsData['slots'][j]) do
|
||||
Perun.SlotsData['slots'][j][sj]['countryName']= nil
|
||||
Perun.SlotsData['slots'][j][sj]['onboard_num']= nil
|
||||
Perun.SlotsData['slots'][j][sj]['groupSize']= nil
|
||||
Perun.SlotsData['slots'][j][sj]['groupName']= nil
|
||||
Perun.SlotsData['slots'][j][sj]['callsign']= nil
|
||||
Perun.SlotsData['slots'][j][sj]['task']= nil
|
||||
Perun.SlotsData['slots'][j][sj]['airdromeId']= nil
|
||||
Perun.SlotsData['slots'][j][sj]['helipadName']= nil
|
||||
end
|
||||
|
||||
end
|
||||
-- Send
|
||||
Perun.Send(3,Perun.SlotsData)
|
||||
|
||||
Reference in New Issue
Block a user