mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
FunkMan
**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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user