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

@@ -177,7 +177,7 @@ CONTROLLABLE = {
-- @return #CONTROLLABLE self
function CONTROLLABLE:New( ControllableName )
local self = BASE:Inherit( self, POSITIONABLE:New( ControllableName ) ) -- #CONTROLLABLE
self:F2( ControllableName )
--self:F( ControllableName )
self.ControllableName = ControllableName
self.TaskScheduler = SCHEDULER:New( self )

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 )