mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Update Airboss.lua
- Fix for DCS bug that skill is not set in env.mission. Should not happen in current DCS version anyway.
This commit is contained in:
parent
59f795fc17
commit
e2c1097ec5
@ -14048,10 +14048,10 @@ function AIRBOSS:_GetOnboardNumbers(group, playeronly)
|
||||
-- Onboard number and unit name.
|
||||
local n=tostring(unit.onboard_num)
|
||||
local name=unit.name
|
||||
local skill=unit.skill
|
||||
local skill=unit.skill or "Unknown"
|
||||
|
||||
-- Debug text.
|
||||
text=text..string.format("\n- unit %s: onboard #=%s skill=%s", name, n, skill)
|
||||
text=text..string.format("\n- unit %s: onboard #=%s skill=%s", name, n, tostring(skill))
|
||||
|
||||
if playeronly and skill=="Client" or skill=="Player" then
|
||||
-- There can be only one player in the group, so we skip everything else.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user