Fixed bug with Restart Group after landing and engine shutdown...

- Due to rename GetDCSGroup to GetDCSObject.
This commit is contained in:
FlightControl
2016-07-04 16:49:17 +02:00
parent eda2794373
commit a9d54b7d02
28 changed files with 5 additions and 5 deletions

View File

@@ -416,7 +416,7 @@ function SPAWN:ReSpawn( SpawnIndex )
-- TODO: This logic makes DCS crash and i don't know why (yet).
local SpawnGroup = self:GetGroupFromIndex( SpawnIndex )
if SpawnGroup then
local SpawnDCSGroup = SpawnGroup:GetDCSGroup()
local SpawnDCSGroup = SpawnGroup:GetDCSObject()
if SpawnDCSGroup then
SpawnGroup:Destroy()
end