mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix wrong check
This commit is contained in:
parent
cade8f4a19
commit
5043a1b8ac
@ -683,7 +683,7 @@ end
|
||||
function destroyedBda(unit)
|
||||
if unit == nil then
|
||||
gameMsg("BDA: target destroyed")
|
||||
elseif unit:getName() == nil then
|
||||
elseif unit:getTypeName() == nil then
|
||||
gameMsg("BDA: target destroyed")
|
||||
else
|
||||
gameMsg("BDA: "..unit:getTypeName().." critically damaged")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user