mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
UNIT
This commit is contained in:
parent
9657976f63
commit
659188e3cb
@ -229,7 +229,7 @@ function UNIT:ReSpawnAt( Coordinate, Heading )
|
|||||||
SpawnGroupTemplate.y = Coordinate.z
|
SpawnGroupTemplate.y = Coordinate.z
|
||||||
|
|
||||||
self:F( #SpawnGroupTemplate.units )
|
self:F( #SpawnGroupTemplate.units )
|
||||||
for UnitID, UnitData in pairs( SpawnGroup:GetUnits() ) do
|
for UnitID, UnitData in pairs( SpawnGroup:GetUnits() or {} ) do
|
||||||
local GroupUnit = UnitData -- #UNIT
|
local GroupUnit = UnitData -- #UNIT
|
||||||
self:F( GroupUnit:GetName() )
|
self:F( GroupUnit:GetName() )
|
||||||
if GroupUnit:IsAlive() then
|
if GroupUnit:IsAlive() then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user