* Test to not return a stored DCS Object if the API doesn't think it's still there
This commit is contained in:
Applevangelist 2023-06-13 18:00:15 +02:00
parent 2cedb5e996
commit c120a48879

View File

@ -179,9 +179,9 @@ function UNIT:GetDCSObject()
return DCSUnit return DCSUnit
end end
if self.DCSUnit then --if self.DCSUnit then
return self.DCSUnit --return self.DCSUnit
end --end
return nil return nil
end end