**RANGE**
- Changed keyword in result tables to "command" for compatibility with DCSServerBot

**AIRBOSS**
- Changed keyword in result tables to "command" for compatibility with DCSServerBot
- Fix bug in Alt and AoA data round function when creating trapsheet data

**SOCKET**
- Changed for compatibility with DCSServerBot
This commit is contained in:
Frank
2022-09-01 22:27:25 +02:00
parent 8f9308f349
commit ac71e38d96
3 changed files with 14 additions and 16 deletions

View File

@@ -17946,12 +17946,12 @@ function AIRBOSS:onafterLSOGrade(From, Event, To, playerData, grade)
local ts=playerData.trapsheet[i] --#AIRBOSS.GrooveData
table.insert(trapsheet.X, UTILS.Round(ts.X, 1))
table.insert(trapsheet.Z, UTILS.Round(ts.Z, 1))
table.insert(trapsheet.AoA, UTILS.Round(ts.AoA), 2)
table.insert(trapsheet.Alt, UTILS.Round(ts.Alt), 1)
table.insert(trapsheet.AoA, UTILS.Round(ts.AoA, 2))
table.insert(trapsheet.Alt, UTILS.Round(ts.Alt, 1))
end
local result={}
result.dataType="Trap Sheet"
result.command=SOCKET.DataType.LSOGRADE
result.name=playerData.name
result.trapsheet=trapsheet
result.airframe=grade.airframe