Fixed issue with SpawnInAir

This commit is contained in:
FlightControl_Master
2017-12-08 14:58:22 +01:00
parent 822920e77e
commit 7fd2500db4
3 changed files with 8 additions and 7 deletions

View File

@@ -139,8 +139,8 @@ end
-- @param #string GroupName The Group name
-- @return #GROUP self
function GROUP:Register( GroupName )
self = BASE:Inherit( self, CONTROLLABLE:New( GroupName ) )
self:F2( GroupName )
local self = BASE:Inherit( self, CONTROLLABLE:New( GroupName ) ) -- #GROUP
self:F( GroupName )
self.GroupName = GroupName
self:SetEventPriority( 4 )