This commit is contained in:
Applevangelist
2025-01-18 15:29:35 +01:00
parent 2a1234f7ff
commit 3ed61e8a2a
2 changed files with 11 additions and 3 deletions

View File

@@ -145,7 +145,11 @@ function POSITIONABLE:GetPosition()
self:F2( self.PositionableName )
local DCSPositionable = self:GetDCSObject()
if self:IsInstanceOf("GROUP") then
DCSPositionable = self:GetFirstUnitAlive():GetDCSObject()
end
if DCSPositionable then
local PositionablePosition = DCSPositionable:getPosition()
self:T3( PositionablePosition )